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

npm run test with error on Windows #5736

Closed
Rondinelly opened this issue Dec 5, 2019 · 0 comments · Fixed by #5737
Closed

npm run test with error on Windows #5736

Rondinelly opened this issue Dec 5, 2019 · 0 comments · Fixed by #5737

Comments

@Rondinelly
Copy link
Contributor

Q&A

  • OS: Windows 10
  • Node: v10.16.3
  • npm: 6.9.0

Describe the bug you're encountering

To reproduce...

Steps to reproduce the behavior:

  1. Run npm run test

  2. Result in Error :

> [email protected] test C:\Users\Usuario\Desktop\swagger-ui
> run-s just-test-in-node e2e-cypress lint-errors


> [email protected] just-test-in-node C:\Users\Usuario\Desktop\swagger-ui
> mocha --require test/mocha/setup.js --recursive --compilers js:@babel/register --require source-map-support 'test/mocha/**/*.{js,jsx}'

Warning: Could not find any test files matching pattern: 'test/mocha/**/*.{js,jsx}'
No test files found
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] just-test-in-node: `mocha --require test/mocha/setup.js --recursive --compilers js:@babel/register --require source-map-support 'test/mocha/**/*.{js,jsx}'`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] just-test-in-node script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Usuario\AppData\Roaming\npm-cache\_logs\2019-12-05T19_51_41_005Z-debug.log
ERROR: "just-test-in-node" exited with 1.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] test: `run-s just-test-in-node e2e-cypress lint-errors`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] test script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Usuario\AppData\Roaming\npm-cache\_logs\2019-12-05T19_51_41_036Z-debug.log

Relationed: #2895

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant