Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests failing in Windows #69

Open
UlisesGascon opened this issue Jan 18, 2025 · 0 comments
Open

tests failing in Windows #69

UlisesGascon opened this issue Jan 18, 2025 · 0 comments

Comments

@UlisesGascon
Copy link
Member

Seems like windows-latest is failing due the environment configuration

Run npm test

> [email protected] test D:\a\doctor\doctor
> xo && mocha test/** -R spec

internal/modules/cjs/loader.js:818
  throw err;
  ^

Error: Cannot find module 'D:\a\doctor\doctor\test'
Require stack:
- D:\a\doctor\doctor\node_modules\mocha\lib\mocha.js
- D:\a\doctor\doctor\node_modules\mocha\index.js
- D:\a\doctor\doctor\node_modules\mocha\bin\_mocha
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
    at Function.Module._load (internal/modules/cjs/loader.js:667:27)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:7[4](https://github.com/yeoman/doctor/actions/runs/12847119033/job/35823070940?pr=66#step:6:5):18)
    at D:\a\doctor\doctor\node_modules\mocha\lib\mocha.js:231:27
    at Array.forEach (<anonymous>)
    at Mocha.loadFiles (D:\a\doctor\doctor\node_modules\mocha\lib\mocha.js:228:14)
    at Mocha.run (D:\a\doctor\doctor\node_modules\mocha\lib\mocha.js:[5](https://github.com/yeoman/doctor/actions/runs/12847119033/job/35823070940?pr=66#step:6:6)36:10)
    at Object.<anonymous> (D:\a\doctor\doctor\node_modules\mocha\bin\_mocha:573:18)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:8[6](https://github.com/yeoman/doctor/actions/runs/12847119033/job/35823070940?pr=66#step:6:7)3:32)
    at Function.Module._load (internal/modules/cjs/loader.js:[7](https://github.com/yeoman/doctor/actions/runs/12847119033/job/35823070940?pr=66#step:6:8)0[8](https://github.com/yeoman/doctor/actions/runs/12847119033/job/35823070940?pr=66#step:6:9):14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:[12](https://github.com/yeoman/doctor/actions/runs/12847119033/job/35823070940?pr=66#step:6:13))
    at internal/main/run_main_module.js:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    'D:\\a\\doctor\\doctor\\node_modules\\mocha\\lib\\mocha.js',
    'D:\\a\\doctor\\doctor\\node_modules\\mocha\\index.js',
    'D:\\a\\doctor\\doctor\\node_modules\\mocha\\bin\\_mocha'
  ]
}
npm ERR! Test failed.  See above for more details.
Error: Process completed with exit code 1.
UlisesGascon added a commit that referenced this issue Jan 18, 2025
Migration from Travis to GitHub Actions (c2a3c82), also engine versions are now updated with a known limitations (#67, #68 and #69). Also replace build sticker in the `README.md`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant