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

Build error You must provide the URL of lib/mappings.wasm #3

Open
ingyer-ks opened this issue Nov 27, 2022 · 1 comment
Open

Build error You must provide the URL of lib/mappings.wasm #3

ingyer-ks opened this issue Nov 27, 2022 · 1 comment

Comments

@ingyer-ks
Copy link

Dear Anna,
I got other error message: Build error You must provide the URL of lib/mappings.wasm.
The solution is as mentioned in parcel-bundler/parcel#8005 (comment), using environment variable NODE_OPTIONS=--no-experimental-fetch.
Now I get no error messages and blog page shows well.
Thank you!

@adnjoo
Copy link

adnjoo commented Feb 6, 2023

I cloned the repo, ran npm install and `gatsby develop, and came into the same issue as above.

My remedy was to:

  1. npm install graphql dotenv
  2. run touch .env.development and put this inside there: NODE_OPTIONS=--no-experimental-fetch
  3. add this code to the top of gatsby-config.js
require("dotenv").config({
  path: `.env.${process.env.NODE_ENV}`,
})

and then it worked for me :)

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