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

react error when running gatsby #492

Open
mipmip opened this issue Jun 19, 2023 · 2 comments
Open

react error when running gatsby #492

mipmip opened this issue Jun 19, 2023 · 2 comments

Comments

@mipmip
Copy link
Contributor

mipmip commented Jun 19, 2023

Describe the bug
I get an error when I try to run a local Gatsby version of the website.

> [email protected] serve
> gatsby serve

failed We've encountered an error: Minified React error #31; visit
https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=Error%3A%20ENOENT%3A%20no%20such%20file%20or%20directory%2C%20open%20'%2Fhome%2Fpim%2FcForks%2Fnickel-lang.org%2F.cache%2Fmatch-paths.json' for the full message or use the non-minified
 dev environment for full errors and additional helpful warnings.

To Reproduce

nix develop
npm install
npm serve

**Expected behavior**
running Gatsby server

**Environment**
 - Nix 23.05
 - Version of the code:
@yannham
Copy link
Member

yannham commented Jul 3, 2023

Hi, I just tested the latest version master (50bf8bc), running the following commands:

$ nix develop
$ npm install
$ npm run serve

> [email protected] serve
> gatsby serve


You can now view nickel-lang.org in the browser.

  http://localhost:9000/

It seems to work here, and npm is the one from the shell (v9.6.7). Do you still encounter this issue?

@mipmip
Copy link
Contributor Author

mipmip commented Jul 4, 2023

Still having the same problem. npm version is also v9.6.7.

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

2 participants