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

Unable to build project with a clean install following quickstart #1

Open
SDupZ opened this issue Apr 28, 2019 · 1 comment
Open

Unable to build project with a clean install following quickstart #1

SDupZ opened this issue Apr 28, 2019 · 1 comment

Comments

@SDupZ
Copy link

SDupZ commented Apr 28, 2019

Description

Unable to build project and receive the following error:

Error: You must provide the URL of lib/mappings.wasm by calling SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) before using SourceMapConsumer

Steps to reproduce

Follow exact steps in the quickstart guide. I.e. a clean build.

Environment

Node version: v10.15.3
OS: MacOS Mojave 10.14.3

Extra information

Seems related to this in the gatsbyjs repo:
gatsbyjs/gatsby#13641

@SDupZ
Copy link
Author

SDupZ commented Apr 28, 2019

I was able to resolve this by:

  1. Manually updating the package.json with "gatsby": "2.3.30", instead of "gatsby": "^2.3.23",.
  2. Remove node_modules
  3. Remove yarn.lock
  4. yarn

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

1 participant