Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade from 0.47.2 to 0.48+ #16212

Closed
wholcman opened this issue Oct 5, 2017 · 4 comments
Closed

Upgrade from 0.47.2 to 0.48+ #16212

wholcman opened this issue Oct 5, 2017 · 4 comments
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.

Comments

@wholcman
Copy link

wholcman commented Oct 5, 2017

Current state:

node: v8.6.0
react-native-cli: 2.0.1
react-native: 0.47.2
npm: 4.6.1

Command:

react-native-git-upgrade 0.48.0
react-native run-ios

An error appears during the bundling.
JSON.parse error from this file jest-haste-map/build/worker.js line 65

Any feedback ?

capture d ecran 2017-10-05 a 11 34 00

@cmdshepard
Copy link

Can you try deleting your node_modules folder and running npm install or yarn install again?
You can also try resetting the packager cache. From the root directory of your project, run npm start -- --reset-cache

@nhducit
Copy link

nhducit commented Oct 10, 2017

I often do the following steps whenever I upgrade react-native
Run this command and rebuild project

yarn nuclear ## clear cache, delete node_modules folder and reinstall node package

rm -rf ~/.rncache
rm -rf node_module
yarn nuclear
yarn start
yarn ios/yarn android

    "nuclear":
      "rm -rf $TMPDIR/react-* && watchman watch-del-all && rm -rf ios/build && rm -rf node_modules/ && yarn install",

@pull-bot
Copy link

@facebook-github-bot no-template

@facebook-github-bot
Copy link
Contributor

Hey, thanks for reporting this issue! It looks like your description is missing some necessary information, or the list of reproduction steps is not complete. Can you please add all the details specified in the Issue Template? This is necessary for people to be able to understand and reproduce the issue being reported. I am going to close this, but feel free to open a new issue with the additional information provided. Thanks! See "What to Expect from Maintainers" to learn more.

@facebook-github-bot facebook-github-bot added the Ran Commands One of our bots successfully processed a command. label Oct 10, 2017
@facebook facebook locked as resolved and limited conversation to collaborators Oct 10, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Oct 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

6 participants