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

upgrade webpack-dev-middleware from version 1.12.2 to v. 2.0.3: Error #34

Closed
kildem opened this issue Dec 26, 2017 · 4 comments
Closed

Comments

@kildem
Copy link

kildem commented Dec 26, 2017

If I upgrade webpack-dev-middleware from version 1.12.2 to v. 2.0.3, I get this error:

 > universal-webpack --settings ./webpack/universal-webpack-settings.json prepare

env: node\r: No such file or directory
@catamphetamine
Copy link
Owner

Post the full log

@kildem
Copy link
Author

kildem commented Dec 26, 2017

> webpack-react-redux-isomorphic-render-example@1.0.0 dev /Users/.../webpack-react-redux-isomorphic-render-example
> npm-run-all development:client:rendering-service:build:prepare development


> webpack-react-redux-isomorphic-render-example@1.0.0 development:client:rendering-service:build:prepare /Users/.../webpack-react-redux-isomorphic-render-example
> universal-webpack --settings ./webpack/universal-webpack-settings.json prepare

env: node\r: No such file or directory
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! webpack-react-redux-isomorphic-render-example@1.0.0 development:client:rendering-service:build:prepare: `universal-webpack --settings ./webpack/universal-webpack-settings.json prepare`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the webpack-react-redux-isomorphic-render-example@1.0.0 development:client:rendering-service:build:prepare 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!     /Users/.../.npm/_logs/2017-12-26T14_25_17_297Z-debug.log
ERROR: "development:client:rendering-service:build:prepare" exited with 1.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! webpack-react-redux-isomorphic-render-example@1.0.0 dev: `npm-run-all development:client:rendering-service:build:prepare development`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the webpack-react-redux-isomorphic-render-example@1.0.0 dev 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!     /Users/.../.npm/_logs/2017-12-26T14_25_17_342Z-debug.log

@catamphetamine
Copy link
Owner

Seems to be an issue in universal-webpack.
npm/npm#12371
Update it to the latest version and see if the error is gone.

@kildem
Copy link
Author

kildem commented Dec 26, 2017

If I upgrade from version 0.5.1 to 0.5.2, the error is gone!
Thanks 😊

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