Giter Site home page Giter Site logo

Comments (5)

Vagr9K avatar Vagr9K commented on May 22, 2024 1

I just noticed in the log that one of the native libraries are crashing while being loaded by the OS.
Apparently it's a WSL related issue:
gatsbyjs/gatsby#3917

There is a workaround in the link. I suspect this is the main problem.

In short; I have all the permissions in the world.

Some NPM packages refuse to install/build properly when running as root. I don't think this is the issue in this case judging by the error messages, but I would strongly advise against running everything as root.

from gatsby-material-starter.

brainwipe avatar brainwipe commented on May 22, 2024 1

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.

from gatsby-material-starter.

Vagr9K avatar Vagr9K commented on May 22, 2024

Ubuntu 16.04.2 xenial LTS running as admin rights on the Windows Subsystem

I'm not sure if this means that you are running as root inside the emulator, but it seems like dependencies aren't being properly installed by npm.
Make sure that you have normal user privileges, and check NPM logs for errors.

Gatsby 1.1.40

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:

git clone https://github.com/Vagr9K/gatsby-material-starter YourProjectName # Clone the project
cd YourProjectname
rm -rf .git # So you can have your own changes stored in VCS.
npm install # or yarn install
npm run develop # or gatsby develop

from gatsby-material-starter.

brainwipe avatar brainwipe commented on May 22, 2024

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.

  • Gatsby-cli is 1.1.40
  • Gatsby is 1.9.204

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?

from gatsby-material-starter.

Vagr9K avatar Vagr9K commented on May 22, 2024

You're welcome!

from gatsby-material-starter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.