graphql-svelte icon indicating copy to clipboard operation
graphql-svelte copied to clipboard

error: Big integer literals are not available in the configured target environment ("chrome87", "edge88", "es2019", "firefox78", "safari13.1")

Open alexander-mart opened this issue 3 years ago • 0 comments

Can't use graphql-svelte with @sveltejs/[email protected] and node v14.17.5

> svelte-kit dev "--host" "--open"

Pre-bundling dependencies:
  svelte/store
  svelte
  carbon-components-svelte
  clipboard-copy
  graphql-svelte
  (...and 8 more)
(this will be run only when your dependencies or config have changed)
 > node_modules/.pnpm/[email protected][email protected]/node_modules/graphql-svelte/dist/index.js:15:2040: error: Big integer literals are not available in the configured target environment ("chrome87", "edge88", "es2019", "firefox78", "safari13.1")
    15 │ ...n t.body=JSON.stringify(e),t}const i={32:16777619n,64:1099511628211n,128:309485009821345068...
       ╵                                             ~~~~~~~~~

 > node_modules/.pnpm/[email protected][email protected]/node_modules/graphql-svelte/dist/index.js:15:2053: error: Big integer literals are not available in the configured target environment ("chrome87", "edge88", "es2019", "firefox78", "safari13.1")
    15 │ ...tringify(e),t}const i={32:16777619n,64:1099511628211n,128:309485009821345068724781371n,256:...
       ╵                                           ~~~~~~~~~~~~~~

 > node_modules/.pnpm/[email protected][email protected]/node_modules/graphql-svelte/dist/index.js:15:2072: error: Big integer literals are not available in the configured target environment ("chrome87", "edge88", "es2019", "firefox78", "safari13.1")
    15 │ ...16777619n,64:1099511628211n,128:309485009821345068724781371n,256:37414441915671114706014331...
       ╵                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

alexander-mart avatar Oct 23 '21 18:10 alexander-mart