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 dev fails #1

Closed
uptownhr opened this issue May 27, 2016 · 1 comment
Closed

npm run dev fails #1

uptownhr opened this issue May 27, 2016 · 1 comment

Comments

@uptownhr
Copy link

npm run dev

> webpack-react-redux-isomorphic-render-example@1.0.0 dev /home/uptown/Projects/webpack-react-redux-isomorphic-render-example
> npm-run-all development-prepare-server-build development


> webpack-react-redux-isomorphic-render-example@1.0.0 development-prepare-server-build /home/uptown/Projects/webpack-react-redux-isomorphic-render-example
> universal-webpack --settings ./webpack/universal-webpack-settings.js prepare

/usr/bin/env: ‘node\r’: No such file or directory

npm ERR! Linux 4.4.0-22-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run-script" "development-prepare-server-build"
npm ERR! node v6.2.0
npm ERR! npm  v3.8.9
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-prepare-server-build: `universal-webpack --settings ./webpack/universal-webpack-settings.js prepare`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the webpack-react-redux-isomorphic-render-example@1.0.0 development-prepare-server-build script 'universal-webpack --settings ./webpack/universal-webpack-settings.js prepare'.
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 webpack-react-redux-isomorphic-render-example package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     universal-webpack --settings ./webpack/universal-webpack-settings.js prepare
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs webpack-react-redux-isomorphic-render-example
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls webpack-react-redux-isomorphic-render-example
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/uptown/Projects/webpack-react-redux-isomorphic-render-example/npm-debug.log
ERROR: development-prepare-server-build: None-Zero Exit(1);

npm ERR! Linux 4.4.0-22-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "dev"
npm ERR! node v6.2.0
npm ERR! npm  v3.8.9
npm ERR! code ELIFECYCLE
npm ERR! webpack-react-redux-isomorphic-render-example@1.0.0 dev: `npm-run-all development-prepare-server-build 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-run-all development-prepare-server-build development'.
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 webpack-react-redux-isomorphic-render-example package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     npm-run-all development-prepare-server-build development
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs webpack-react-redux-isomorphic-render-example
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls webpack-react-redux-isomorphic-render-example
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/uptown/Projects/webpack-react-redux-isomorphic-render-example/npm-debug.log
@catamphetamine
Copy link
Owner

I fixed \r\n line endings in universal-webpack@0.1.11.
Try it and report back.

(do npm install universal-webpack@0.1.11)

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