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

error in $ npm run test #45

Open
railsagainstignorance opened this issue May 28, 2018 · 2 comments
Open

error in $ npm run test #45

railsagainstignorance opened this issue May 28, 2018 · 2 comments

Comments

@railsagainstignorance
Copy link

$ npm run test

> [email protected] test C:\Users\cgath\dev\railsagainstignorance\weblas
> browserify test/*.js | testling -x $npm_config_browser

Error: Cannot find module 'C:\Users\cgath\dev\railsagainstignorance\weblas\test\*.js' from 'C:\Users\cgath\dev\railsagainstignorance\weblas'
    at C:\Users\cgath\AppData\Roaming\npm\node_modules\browserify\node_modules\browser-resolve\node_modules\resolve\lib\async.js:55:21
    at load (C:\Users\cgath\AppData\Roaming\npm\node_modules\browserify\node_modules\browser-resolve\node_modules\resolve\lib\async.js:69:43)
    at onex (C:\Users\cgath\AppData\Roaming\npm\node_modules\browserify\node_modules\browser-resolve\node_modules\resolve\lib\async.js:92:31)
    at C:\Users\cgath\AppData\Roaming\npm\node_modules\browserify\node_modules\browser-resolve\node_modules\resolve\lib\async.js:22:47
    at FSReqWrap.oncomplete (fs.js:123:15)
'http:' is not recognized as an internal or external command,
operable program or batch file.
Command undefined terminated with non-zero exit code
@railsagainstignorance
Copy link
Author

This was on Windows10.

The workaround was to manually invoke the test:

$ browserify test/*.js | testling -x start

@waylonflinn
Copy link
Owner

Thanks for reporting this. I've also run into this issue on Windows. I'm searching for a simple fix, but have yet to find one.

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

2 participants