Skip to content

v0.18 doesn't play nice with react-native-cli? #5135

@etodanik

Description

@etodanik

I just tried to swap react v0.17 for v0.18-rc in my project, and after running
npm install https://github.com/facebook/react-native/archive/v0.18.0-rc.tar.gz

I'm getting the following when running react-native in the cli:

/Users/danny/src/Fitbird/node_modules/react-native/node_modules/babel-core/lib/transformation/file/options/option-manager.js:181
          throw new ReferenceError(messages.get("pluginUnknown", plugin, loc, i));
          ^

ReferenceError: Unknown plugin "syntax-async-functions" specified in "foreign" at 0
    at /Users/danny/src/Fitbird/node_modules/react-native/node_modules/babel-core/lib/transformation/file/options/option-manager.js:181:17
    at Array.map (native)
    at Function.normalisePlugins (/Users/danny/src/Fitbird/node_modules/react-native/node_modules/babel-core/lib/transformation/file/options/option-manager.js:163:20)
    at OptionManager.mergeOptions (/Users/danny/src/Fitbird/node_modules/react-native/node_modules/babel-core/lib/transformation/file/options/option-manager.js:259:36)
    at compile (/Users/danny/src/Fitbird/node_modules/react-native/node_modules/babel-register/lib/node.js:87:15)
    at loader (/Users/danny/src/Fitbird/node_modules/react-native/node_modules/babel-register/lib/node.js:128:14)
    at Object.require.extensions.(anonymous function) [as .js] (/Users/danny/src/Fitbird/node_modules/react-native/node_modules/babel-register/lib/node.js:138:7)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
    at Module.require (module.js:366:17)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Ran CommandsOne of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions