question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Instruction for clearing cache does not work with react-native 0.57

See original GitHub issue

This instruction:

{
  "scripts": {
    "start": "rm -rf ./node_modules/.cache/babel-loader && node index.js"
  }
}

does not work with react-native 0.57

Is there any way to fix it in react-native?

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:10

github_iconTop GitHub Comments

2reactions
Skitionekcommented, Aug 22, 2019

rm -rf ./node_modules/.cache/@babel helps at least fo babel-node

2reactions
oxyiicommented, Jul 4, 2019

@mieszko4 @iamnader react-native start --reset-cache works for me

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to clear react-native cache? - Stack Overflow
For React Native Init approach (without expo) use: npm start -- --reset-cache.
Read more >
Upgrading to new versions - React Native
Some upgrades won't be done automatically with the React Native CLI and require manual work, e.g. 0.28 to 0.29 , or 0.56 to...
Read more >
Deploying React Native to Bitrise, Fabric, CircleCI - Medium
This post is about implementing QR code scanning, fixing building issues, continuous integration with Bitrise, crash reporting with Fabric ...
Read more >
react-native-video - npm
Works with cached videos as well. (Checkout video-caching example); If the video is has not began buffering (e.g. there is no internet ...
Read more >
unable to resolve module react-native-elements - You.com
1. I had the same problem, I fixed that by below steps: 1-> delete node_modules by: rm -rf node_modules. 2-> delte Pods ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found