-
-
Notifications
You must be signed in to change notification settings - Fork 10.5k
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: ENOENT, stat #3752
Comments
Hi @peterennis I need to look this up again but something in the depth of my brain tells me this is a problem with a specific node version. Please can you post the full environment of your blog? There is a bug report template in our contributing guidelines that should give you a good idea what sorts of info to include. |
Windows 8.1 32 bit C:\ae\ghost-0.5.0>echo %PATH% C:\ae\ghost-0.5.0>dir C:\Users\peterennis\AppData\Roaming\npm Directory of C:\Users\peterennis\AppData\Roaming File Not Found C:\ae\ghost-0.5.0>npm install --production C:\ae\ghost-0.5.0>mkdir C:\Users\peterennis\AppData\Roaming\npm C:\ae\ghost-0.5.0>npm install --production C:\ae\ghost-0.5.0> |
@ErisDS This is indeed specific to the 10.30 installer. nodejs/node-v0.x-archive#8141 |
I think this is potentially a regression because it has been reported before in npm: npm/npm#3664 Sorry @peterennis for the total crappiness of this - but it's problem in node/npm, not with the Ghost software so there's very little I can do beyond update our windows install docs with a note to explain, which I have done. Hopefully Node will update their windows installer soon. |
Try updating the npm and run again with command npm install npm -g. This worked for me |
Windows 8.1, x32, ghost 0.5
Instruction here does not work:
https://github.com/TryGhost/Ghost
5. run npm install --production to install the node dependencies. If you see error Error: ENOENT on this step, make sure you are in the project directory and try again.
There is a bug in the node installer reported here:
http://stackoverflow.com/questions/25093276/nodejs-windows-error-enoent-stat-c-users-rt-appdata-roaming-npm
I have to manually create the folder:
'C:\Users%USERNAME%\AppData\Roaming\npm
and it works.
The text was updated successfully, but these errors were encountered: