-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Commands don't work on Window (Error: Cannot find module '...\npm\node_modules\gatsby\bin\cli-new' on gatsby new
)
#80
Comments
gatsby new
gatsby new
I'm not at all familiar with NPM on Windows... perhaps this StackOverflow answer will help? Please report back if you figure it out! http://stackoverflow.com/questions/9587665/nodejs-cannot-find-installed-module-on-windows |
on windows 10 |
@michaeldemchenko That fixed it! Thanks a lot. Why don't you open a PR to add this to the readme until the issue gets fixed? |
👍 have the save problem in windows 7 |
This PR in commander.js seems related. There's been other people reporting problems with git-style subcommands on Windows. What version of node are y'all using? Curious if it's only older versions causing trouble. |
I use v4.2.2 |
Node v4.2.3 on Windows 10 I'm getting this as of Gatsby 0.7.7 so this is still an issue. |
Same issue on Windows 10, Node v4.2.2, Gatsby 0.7.7 Renaming the files as described above fixed the issue for me. Thanks @michaeldemchenko |
Same issue on Windows 10, Node v5.5.0, Gatsby 0.7.7. Although, I had to update different files:
And to run
|
gatsby new
gatsby new
)
Hey peeps, @NogsMPLS submitted a PR which should fix this issue. I released 0.8.5 with his PR included — could some of you install this and report back if Gatsby does indeed now work correctly on Windows? |
Closing this out. Please comment if this problem still exists or open a new issue if you discover other problems on Windows. |
Gatsby
installed successfully (nonode-gyp
errors), but creating a new site is throwing the error at me. I'm using Windows 10. Reinstallinggatsby
didn't fix it.Full error:
The text was updated successfully, but these errors were encountered: