-
Notifications
You must be signed in to change notification settings - Fork 25.1k
Closed
Labels
Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.
Description
Logs:
This will walk you through creating a new React Native project in /private/tmp/react-native-xNeadCtD/EndToEndTest
Installing react-native package from npm...
/private/tmp/react-native-xNeadCtD/EndToEndTest/node_modules/react-native/node_modules/babel-core/lib/transformation/file/options/option-manager.js:195
throw new ReferenceError(messages.get("pluginUnknown", plugin, loc, i));
^
ReferenceError: Unknown plugin "syntax-async-functions" specified in "foreign" at 0
at /private/tmp/react-native-xNeadCtD/EndToEndTest/node_modules/react-native/node_modules/babel-core/lib/transformation/file/options/option-manager.js:195:17
at Array.map (native)
at Function.normalisePlugins (/private/tmp/react-native-xNeadCtD/EndToEndTest/node_modules/react-native/node_modules/babel-core/lib/transformation/file/options/option-manager.js:175:20)
at OptionManager.mergeOptions (/private/tmp/react-native-xNeadCtD/EndToEndTest/node_modules/react-native/node_modules/babel-core/lib/transformation/file/options/option-manager.js:273:36)
at compile (/private/tmp/react-native-xNeadCtD/EndToEndTest/node_modules/react-native/node_modules/babel-core/node_modules/babel-register/lib/node.js:87:15)
at loader (/private/tmp/react-native-xNeadCtD/EndToEndTest/node_modules/react-native/node_modules/babel-core/node_modules/babel-register/lib/node.js:128:14)
at Object.require.extensions.(anonymous function) [as .js] (/private/tmp/react-native-xNeadCtD/EndToEndTest/node_modules/react-native/node_modules/babel-core/node_modules/babel-register/lib/node.js:138:7)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Module.require (module.js:366:17)
at require (module.js:385:17)
./scripts/e2e-test.sh: line 20: 1794 Killed: 9 sinopia --config $SCRIPTS/e2e-sinopia.config.ymlI updated Babel and the plugins just in case it would fix things, but it didn't: https://travis-ci.org/facebook/react-native/builds/91186532.
Babel shouldn't be this hard to get running correctly. Perhaps Babel 6's algorithm for resolving plugins should be patched to include Babel 5's behavior?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.