question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

1.0.0-rc.17 Fails in Browser

See original GitHub issue

Getting the following error which kills Voyager in 1.0.0-rc.17:

voyager.min.js:17 Uncaught Error: Cannot use e "__Schema" from another module or realm.

Ensure that there is only one instance of "graphql" in the node_modules
directory. If different versions of "graphql" are the dependencies of other
relied on modules, use "resolutions" to ensure only one version is installed.

https://yarnpkg.com/en/docs/selective-version-resolutions

Duplicate "graphql" modules cannot be used at the same time since different
versions may have different capabilities and behavior. The data from one
version used in the function from another could produce confusing and
spurious results.
    at t.default (voyager.min.js:17)
    at u (voyager.min.js:7)
    at o (voyager.min.js:7)
    at R (voyager.min.js:7)
    at F (voyager.min.js:7)
    at new P (voyager.min.js:7)
    at P (voyager.min.js:7)
    at Object.<anonymous> (voyager.min.js:12)
    at t (voyager.min.js:7)
    at Object.<anonymous> (voyager.min.js:17)
t.default @ voyager.min.js:17
u @ voyager.min.js:7
o @ voyager.min.js:7
R @ voyager.min.js:7
F @ voyager.min.js:7
P @ voyager.min.js:7
P @ voyager.min.js:7
(anonymous) @ voyager.min.js:12
t @ voyager.min.js:7
(anonymous) @ voyager.min.js:17
t @ voyager.min.js:7
(anonymous) @ voyager.min.js:28
t @ voyager.min.js:7
(anonymous) @ voyager.min.js:28
t @ voyager.min.js:7
(anonymous) @ voyager.min.js:28
t @ voyager.min.js:7
(anonymous) @ voyager.min.js:12
t @ voyager.min.js:7
(anonymous) @ voyager.min.js:28
t @ voyager.min.js:7
(anonymous) @ voyager.min.js:17
t @ voyager.min.js:7
(anonymous) @ voyager.min.js:28
t @ voyager.min.js:7
(anonymous) @ voyager.min.js:28
t @ voyager.min.js:7
(anonymous) @ voyager.min.js:28
t @ voyager.min.js:7
(anonymous) @ voyager.min.js:28
t @ voyager.min.js:7
(anonymous) @ voyager.min.js:7
(anonymous) @ voyager.min.js:7
(anonymous) @ voyager.min.js:7
(anonymous) @ voyager.min.js:7
voyager:54 Uncaught ReferenceError: GraphQLVoyager is not defined
    at voyager:54
(anonymous) @ voyager:54
load (async)
(anonymous) @ voyager:33

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
IvanGoncharovcommented, Jun 8, 2018

Facepalm: I know the issue https://github.com/graphql/graphql-js/issues/1182#issuecomment-388542102 I will try to fix it today. Also not sure why it doesn’t afect demo page.

0reactions
IvanGoncharovcommented, Jun 12, 2018

@mkochendorfer Great 🎉

Read more comments on GitHub >

github_iconTop Results From Across the Web

1.0.0-rc.17 Fails in Browser · Issue #69 - GitHub
Getting the following error which kills Voyager in 1.0.0-rc.17: voyager.min.js:17 Uncaught Error: Cannot use e "__Schema" from another ...
Read more >
Could not find expected browser chrome locally - Stack Overflow
8", It gives this error: Error: Could not find expected browser (chrome) locally. Run npm install to download the correct Chromium revision ( ......
Read more >
React v17.0 Release Candidate: No New Features
Today, we are publishing the first Release Candidate for React 17. ... When you throw an error in the browser, the browser gives...
Read more >
Releases | Tauri Apps
1.0.0-rc.15. Fixes filesystem scope check when using the HTTP API to upload files. ... Fixes a memory leak in the command system. ......
Read more >
Version 17.2.0 Preview 1.0 : installation of Windows App SDK ...
This is object browser on my main machine where creating WinUI3 default apps Fails. I don't understand why this is happening…?? fail machine...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found