-
Notifications
You must be signed in to change notification settings - Fork 178
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
Multiple errors when trying to run site under develop #30
Comments
I'm not sure if this means that you are running as
Update your locally installed version to at least 1.9.140. Otherwise you'll get quite a lot of magical errors. Or alternatively use this variant:
|
Thank you for getting back to me. I think I made an error in my original post as I gave the gatsby-cli version, not the npm package.
I'm running both the shell and inside the shell as super user. In short; I have all the permissions in the world. I've updated the cli to 1.1.41 but the errors are identical. Are there any other tests I can do to help narrow it down? |
I just noticed in the log that one of the native libraries are crashing while being loaded by the OS. There is a workaround in the link. I suspect this is the main problem.
Some NPM packages refuse to install/build properly when running as |
Thanks @Vagr9K, that helped move past that error. Now I'm getting a new error, will take it up with gatsby. Also, thanks for the tip about running as root. It's something I only do on sandbox dev environments but worth pointing out for anyone else stopping by to read this! Please close this issue and thank you for your help. |
You're welcome! |
I ran the instructions without making any changes to the repo. I'm not using yarn.
And received the following error:
Environment:
Operating System: Ubuntu 16.04.2 xenial LTS running as admin rights on the Windows Subsystem. x64 with node running as x64.
Node.js 9.5.0
Gatsby 1.1.40
npm 5.6.0
Thanks in advance!
The text was updated successfully, but these errors were encountered: