Skip to content

Instantly share code, notes, and snippets.

@rolandpeelen
Last active December 13, 2019 11:48
Show Gist options
  • Select an option

  • Save rolandpeelen/9cd9a21e407792df72986f9058a8a46a to your computer and use it in GitHub Desktop.

Select an option

Save rolandpeelen/9cd9a21e407792df72986f9058a8a46a to your computer and use it in GitHub Desktop.
failed Building static HTML for pages - 2.306s
ERROR #95313
Building static HTML failed for path "/"
See our docs page for more info on this error: https://gatsby.dev/debug-html
10 | function InvariantError(message) {
11 | if (message === void 0) { message = genericMessage; }
> 12 | var _this = _super.call(this, typeof message === "number"
| ^
13 | ? genericMessage + ": " + message + " (see https://github.com/apollographql/invariant-packages)"
14 | : message) || this;
15 | _this.framesToPop = 1;
WebpackError: Invariant Violation: Invariant Violation: 2 (see https://github.com/apollographql/invariant-packages)
- invariant.esm.js:12 new InvariantError
node_modules/ts-invariant/lib/invariant.esm.js:12:1
- invariant.esm.js:24 invariant
node_modules/ts-invariant/lib/invariant.esm.js:24:1
- react-hooks.esm.js:34 QueryData../node_modules/@apollo/react-hooks/lib/react-hooks.esm.js.OperationData.refreshClient
node_modules/@apollo/react-hooks/lib/react-hooks.esm.js:34:58
- react-hooks.esm.js:97 QueryData../node_modules/@apollo/react-hooks/lib/react-hooks.esm.js.QueryData.execute
node_modules/@apollo/react-hooks/lib/react-hooks.esm.js:97:1
- react-hooks.esm.js:380
node_modules/@apollo/react-hooks/lib/react-hooks.esm.js:380:43
- react-hooks.esm.js:354 useDeepMemo
node_modules/@apollo/react-hooks/lib/react-hooks.esm.js:354:24
- react-hooks.esm.js:380 useBaseQuery
node_modules/@apollo/react-hooks/lib/react-hooks.esm.js:380:1
- react-hooks.esm.js:397 Module.useQuery
node_modules/@apollo/react-hooks/lib/react-hooks.esm.js:397:1
- ApolloHooksQuery.bs.js:41 Module.useQuery
node_modules/reason-apollo-hooks/src/ApolloHooksQuery.bs.js:41:38
- Banner.bs.js:191 Banner
src/components/Banner.bs.js:191:36
error Command failed with exit code 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment