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 Error #344

Closed
jsonz1993 opened this issue Feb 10, 2017 · 1 comment
Closed

npm run test Error #344

jsonz1993 opened this issue Feb 10, 2017 · 1 comment

Comments

@jsonz1993
Copy link

vue-cli init webpack testing; cd testing; cnpm install; npm run test;

npm ERR! Darwin 16.3.0
npm ERR! argv "/Users/herely/.nvm/versions/node/v6.9.2/bin/node" "/Users/herely/.nvm/versions/node/v6.9.2/bin/npm" "run" "unit"
npm ERR! node v6.9.2
npm ERR! npm v4.2.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! testing@1.0.0 unit: cross-env BABEL_ENV=test karma start test/unit/karma.conf.js --single-run
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the testing@1.0.0 unit script 'cross-env BABEL_ENV=test karma start test/unit/karma.conf.js --single-run'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the testing package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cross-env BABEL_ENV=test karma start test/unit/karma.conf.js --single-run
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs testing
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls testing
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /Users/herely/.npm/_logs/2017-02-10T05_51_51_672Z-debug.log

OS: mac osx 10.12.2
node: 6.9.2
npm: 4.2.0
vue-cli: 2.8.1

@zigomir
Copy link
Contributor

zigomir commented Feb 10, 2017

Seems like you're having an issue with webpack template. Please report it there.

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

No branches or pull requests

3 participants