Packager doesn't start after upgrading to 0.46.0
See original GitHub issueIs this a bug report?
Yes
Have you read the Bugs section of the Contributing to React Native Guide?
Yes
Environment
react-native -v
: 0.46.0node -v
: v4.0.0npm -v
: 4.2.0yarn --version
(if you use Yarn): 0.23.4
Then, specify:
- Target Platform (e.g. iOS, Android): iOS
- Development Operating System (e.g. macOS Sierra, Windows 10): macOS Sierra
- Build tools (Xcode or Android Studio version, iOS or Android SDK version, if relevant): Xcode
Steps to Reproduce
- Run project from Xcode
- Terminal launches to start packager, then fails
Or:
- Run
react-native start
- Packager fails
Expected Behavior
Packager starts; compiles project
Actual Behavior
I get this error:
/Users/alexduckmanton/AppsLocal/project_name/node_modules/metro-bundler/build/lib/TerminalClass.js:141
this._nextStatusStr = util.format(format, ...args);
^^^
SyntaxError: Unexpected token ...
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:413:25)
at Module._extensions..js (module.js:452:10)
at Object.require.extensions.(anonymous function) [as .js] (/Users/alexduckmanton/AppsLocal/project_name/node_modules/babel-register/lib/node.js:152:7)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (/Users/alexduckmanton/AppsLocal/project_name/node_modules/react-native/local-cli/server/runServer.js:18:18)
at Module._compile (module.js:434:26)
Issue Analytics
- State:
- Created 6 years ago
- Reactions:11
- Comments:14 (3 by maintainers)
Top Results From Across the Web
Upgrading R: package compatibility issues - Amazon AWS
Sometimes packages installed with a previous version of R will not work correctly with the new version of R. Sometimes they can crash...
Read more >Installation — pandas 1.1.3 documentation
Miniconda allows you to create a minimal self contained Python installation, and then use the Conda command to install additional packages.
Read more >Sub-action 'InstallMsiPackage' failed with error code: 1603 ...
The following error when trying to upgrade Plesk: ... ERROR: The installation of the package 'mariadb-admin' failed with code 1603. (upgrade: Upgrading ......
Read more >Release Notes - Paludis, the Other Package Mangler - Exherbo
'cave purge' will now error if given parameters, since it does not do anything with them. 0.54.2: * Upgrading from older versions to...
Read more >Rachio in 0.46.0 - #62 by turboc - Home Assistant Community
Even after upgrading HA to v0.51.2, Rachio still does not load. Any update on the functionality of this component? Error log:.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I had this problem this morning. You need to upgrade your node.js to the latest version which is v6 i believe. It will work fine then.
Cheers guys. @jibberilins that did the trick, thanks.