Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
~/Downloads/my-default-starter
❯ yarn develop
yarn run v1.13.0
$ gatsby develop
error We encountered an error while trying to load your site's gatsby-config. Please fix the error and try again.
TypeError: {(intermediate value)(intermediate value)} is not a function
- gatsby-config.js:16 Object.<anonymous>
/Users/saravieira/Downloads/my-default-starter/gatsby-config.js:16:5
- v8-compile-cache.js:178 Module._compile
[my-default-starter]/[v8-compile-cache]/v8-compile-cache.js:178:30
- loader.js:700 Object.Module._extensions..js
internal/modules/cjs/loader.js:700:10
- loader.js:599 Module.load
internal/modules/cjs/loader.js:599:32
- loader.js:538 tryModuleLoad
internal/modules/cjs/loader.js:538:12
- loader.js:530 Function.Module._load
internal/modules/cjs/loader.js:530:3
- loader.js:637 Module.require
internal/modules/cjs/loader.js:637:17
- v8-compile-cache.js:159 require
[my-default-starter]/[v8-compile-cache]/v8-compile-cache.js:159:20
- get-config-file.js:33
[my-default-starter]/[gatsby]/dist/bootstrap/get-config-file.js:33:22
- Generator.next
- debuggability.js:313 Promise._execute
[my-default-starter]/[bluebird]/js/release/debuggability.js:313:9
- promise.js:483 Promise._resolveFromExecutor
[my-default-starter]/[bluebird]/js/release/promise.js:483:18
- promise.js:79 new Promise
[my-default-starter]/[bluebird]/js/release/promise.js:79:10
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.