Can't find variable: Symbol

I am new to Expo and trying to compile the project with expo and genymotion. I get this error “Can’t find variable: Symbol” but my code doesn’t include Symbol in any file so I guess it’s something with babel?

my config:

“presets”: [“babel-preset-expo”],
“env”: {
“development”: {
“plugins”: [“transform-react-jsx-source”]


“name”: “recorder-app”,
“version”: “0.0.0”,
“description”: “Hello Expo!”,
“author”: null,
“private”: true,
“main”: “main.js”,
“dependencies”: {
“expo”: “16.0.0”,
“html-entities”: “^1.2.1”,
“react”: “16.0.0-alpha.6”,
“react-native”: “”,
“react-native-elements”: “^0.11.2”,
“react-navigation”: “git+”,
“react-redux”: “^5.0.4”,
“redux”: “^3.6.0”,
“redux-thunk”: “^2.2.0”,
“striptags”: “^3.0.1”,
“tcomb-form-native”: “^0.6.7”

Hi there!

One of your dependencies must use Symbol.

I recommend using babel-polyfill or some other type of Symbol polyfill if you need Symbol support.


1 Like