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 install fails on windows #32

Closed
attilah opened this issue Mar 7, 2016 · 1 comment
Closed

npm install fails on windows #32

attilah opened this issue Mar 7, 2016 · 1 comment

Comments

@attilah
Copy link
Contributor

attilah commented Mar 7, 2016

When installing react project under windows it fails with this error:

C:\Windows\system32>npm install -g create-react-project
C:\Users\Attila\AppData\Roaming\npm\create-react-project -> C:\Users\Attila\AppData\Roaming\npm\node_modules\create-react-project\index.js

[email protected] postinstall C:\Users\Attila\AppData\Roaming\npm\node_modules\create-react-project
./scripts/postinstall.js

'.' is not recognized as an internal or external command,
operable program or batch file.

@attilah
Copy link
Contributor Author

attilah commented Mar 7, 2016

I think that adding "node" in front of the postinstall command will make it cross platform.

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