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

Cannot run develop #49

Closed
grantholle opened this issue Apr 30, 2019 · 2 comments
Closed

Cannot run develop #49

grantholle opened this issue Apr 30, 2019 · 2 comments

Comments

@grantholle
Copy link

"gatsby-source-datocms": "^2.1.4",

When including:

{
  resolve: `gatsby-source-datocms`,
  options: {
    apiToken: `################`
  }
}

I get

error UNHANDLED REJECTION


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

  - read-wasm.js:8 readWasm
    [ldi.global]/[react-hot-loader]/[source-map]/lib/read-wasm.js:8:13

  - wasm.js:25 wasm
    [ldi.global]/[react-hot-loader]/[source-map]/lib/wasm.js:25:16

  - source-map-consumer.js:264 BasicSourceMapConsumer.then.that
    [ldi.global]/[react-hot-loader]/[source-map]/lib/source-map-consumer.js:264:14

when trying to run gatsby develop.

Not including it will compile successfully.

@grantholle
Copy link
Author

➜ gatsby develop
success open and validate gatsby-configs — 0.010 s
success load plugins — 0.650 s
success onPreInit — 0.017 s
success initialize cache — 0.160 s
success copy gatsby files — 0.137 s
success onPreBootstrap — 0.010 s
success loading DatoCMS content — 4.490 s
success source and transform nodes — 4.639 s
success building schema — 0.430 s
success createPages — 0.001 s
success createPagesStatefully — 0.102 s
success onPreExtractQueries — 0.010 s
success update schema — 0.039 s
success extract queries from components — 0.191 s
success run static queries — 0.100 s — 3/3 30.36 queries/second
success run page queries — 0.011 s — 5/5 494.55 queries/second
success write out page data — 0.004 s
success write out redirect data — 0.001 s
success Build manifest and related icons — 0.225 s
success onPostBootstrap — 0.228 s

info bootstrap finished - 8.933 s

error UNHANDLED REJECTION


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

  - read-wasm.js:8 readWasm
    [ldi.global]/[react-hot-loader]/[source-map]/lib/read-wasm.js:8:13

  - wasm.js:25 wasm
    [ldi.global]/[react-hot-loader]/[source-map]/lib/wasm.js:25:16

  - source-map-consumer.js:264 BasicSourceMapConsumer.then.that
    [ldi.global]/[react-hot-loader]/[source-map]/lib/source-map-consumer.js:264:14

@grantholle
Copy link
Author

Was an issue with Gatsby

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