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 while generating project #7

Closed
yanns opened this issue Feb 13, 2014 · 3 comments
Closed

error while generating project #7

yanns opened this issue Feb 13, 2014 · 3 comments
Assignees
Labels

Comments

@yanns
Copy link

yanns commented Feb 13, 2014

$ yo react-webpack
gives me the following error:
npm ERR! notarget No compatible version found: jsx-loader@'petehunt/jsx-loader'
npm ERR! notarget Valid install targets:
npm ERR! notarget ["0.0.0"]
npm ERR! notarget
npm ERR! notarget This is most likely not a problem with npm itself.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! System Linux 3.11.0-15-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.24
npm ERR! code ETARGET

@newtriks
Copy link
Member

Thanks for the heads up on this @yanns, could you try uninstalling jsx-loader i.e. sudo npm -g remove jsx-loader and then re-install generator-react-webpack?

@newtriks newtriks added the bug label Mar 24, 2014
@newtriks newtriks self-assigned this Mar 24, 2014
@yanns
Copy link
Author

yanns commented Apr 2, 2014

jsx-loader was not installed globally:

sudo npm -g remove jsx-loader
npm WARN uninstall not installed in /usr/lib/node_modules: "jsx-loader"

@newtriks
Copy link
Member

newtriks commented Apr 2, 2014

This commit should fix the jsx-loader issue c468b98. If you're still finding issues with the jsx-loader, delete the node_modules from the root of the generated project and then run npm install again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants