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

Met karma loading related error when doing npm run build ... #8

Open
xeoshow opened this issue Jun 14, 2017 · 0 comments
Open

Met karma loading related error when doing npm run build ... #8

xeoshow opened this issue Jun 14, 2017 · 0 comments

Comments

@xeoshow
Copy link

xeoshow commented Jun 14, 2017

Hi,
How to resolve below error? when doing npm run dev, it is normal ...
Thanks a lot!

--
D:\gitrepository\vue-touch-keyboard>npm run build

[email protected] prebuild D:\gitrepository\vue-touch-keyboard
npm run test

[email protected] pretest D:\gitrepository\vue-touch-keyboard
npm run lint

[email protected] lint D:\gitrepository\vue-touch-keyboard
eslint --ext=.js,.vue src test/unit/specs

[email protected] test D:\gitrepository\vue-touch-keyboard
npm run unit

[email protected] unit D:\gitrepository\vue-touch-keyboard
karma start test/unit/karma.conf.js

14 06 2017 13:19:07.724:ERROR [plugin]: Error during loading "D:\gitrepository\vue-touch-keyboard\node_modules/karma-phantomjs-launcher" plugin:
Path must be a string. Received null
14 06 2017 13:19:12.678:INFO [karma]: Karma v1.3.0 server started at http://localhost:9876/
14 06 2017 13:19:12.683:INFO [launcher]: Launching browser PhantomJS with unlimited concurrency
14 06 2017 13:19:12.687:ERROR [karma]: Found 1 load error

npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\nodejs\node.exe" "C:\nodejs\node_modules\npm\bin\npm-cli.js" "run" "unit"
npm ERR! node v6.9.5
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] unit: karma start test/unit/karma.conf.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] unit script 'karma start test/unit/karma.conf.js'.
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 vue-touch-keyboard package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! karma start test/unit/karma.conf.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs vue-touch-keyboard
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls vue-touch-keyboard
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! D:\gitrepository\vue-touch-keyboard\npm-debug.log

npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\nodejs\node.exe" "C:\nodejs\node_modules\npm\bin\npm-cli.js" "run" "test"
npm ERR! node v6.9.5
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] test: npm run unit
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] test script 'npm run unit'.
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 vue-touch-keyboard package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run unit
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs vue-touch-keyboard
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls vue-touch-keyboard
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! D:\gitrepository\vue-touch-keyboard\npm-debug.log

npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\nodejs\node.exe" "C:\nodejs\node_modules\npm\bin\npm-cli.js" "run" "build"
npm ERR! node v6.9.5
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] prebuild: npm run test
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] prebuild script 'npm run test'.
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 vue-touch-keyboard package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run test
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs vue-touch-keyboard
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls vue-touch-keyboard
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! D:\gitrepository\vue-touch-keyboard\npm-debug.log

D:\gitrepository\vue-touch-keyboard>

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

1 participant