Skip to content

Expo 31.x.x Upgrade #2574

@bnbon

Description

@bnbon

Hi,
Using an App made with the create command line; I get the following error after an upgrade; couldn't find any threads on the topic at all... I don't think I have made any changes to anything involving the core of the App from a standard setup.

/Apps/ExampleApp/app/app.js: Plugin/Preset files are not allowed to export objects, only functions. In /Apps/ExampleApp/node_modules/babel-preset-react-native/index.js

This are my devDependencies

"devDependencies": {
"babel-jest": "19.0.0",
"babel-preset-react-native": "1.9.1",
"eslint": "⁵.7.0",
"eslint-config-prettier": "³.1.0",
"eslint-config-react-native": "³.0.2",
"eslint-config-standard": "¹².0.0",
"eslint-plugin-import": "².14.0",
"eslint-plugin-node": "⁷.0.1",
"eslint-plugin-prettier": "³.0.0",
"eslint-plugin-promise": "⁴.0.1",
"eslint-plugin-standard": "⁴.0.0",
"jest": "22.0.0",
"onchange": "⁵.0.2",
"prettier": "1.14.3",
"react-test-renderer": "16.0.0-alpha.6"
},

This is my babelrc file

{
  "presets": ["react-native"]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions