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.

Can't find variable: Symbol

See original GitHub issue

I am trying to integrate mobx into my react-native project. But I was stuck when I tried to import Provider into the main App.js.

I have this error:

Error: "Can't find variable: Symbol Evaluating module://mobx-react.js Evaluating module://App.js Loading module://App.js" in

On further checking I found that the latest version of the mobx/mobx-react was the problem. When I installed the old version, the error was gone.

You can check the latest mobx/mobx-react version snack here, which does not work.

And the old version of mobx/mobx-react version of snack here, which does work.

Issue Analytics

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

github_iconTop GitHub Comments

4reactions
mweststratecommented, Jun 8, 2018

Please close issue next time when opening another 😃

Solved in mobx-react@5.2.2

0reactions
mweststratecommented, Aug 27, 2018

For React Native android user, please upgrade your JSC version or downgrade to MobX 4

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't find variable: Symbol · Issue #15786 - GitHub
"Debug JS Remotely" is very buggy system , I have many issue with it I use Symbol in a js file from 6...
Read more >
React Native - Cant find variable: Symbol - Stack Overflow
I am writing an React-Native-Web (RNW) app. The basic design is a core application that takes a library of custom React-Native components as...
Read more >
How to Resolve The Cannot Find Symbol Error in Java - Rollbar
When the Java compiler encounters a use of an identifier which it cannot find in the symbol table, it raises the cannot find...
Read more >
Compiling ECS 6 for Safari - polyfill - Can't find Symbol
It works just fine but in safari everything is broken because of: Error: ReferenceError: Can't find variable: Symbol I search my ways and...
Read more >
What can cause the "cannot find symbol" error in Java?
The “cannot find symbol” error occurs mainly when we try to reference a variable that is not declared in the program which we...
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

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