[Packager] Command or flag to clean cache
See original GitHub issueWhen introducing a custom .babelrc
, it’s necessary to add the resetCache flag to the packager. This requires digging into node_modules
and isn’t the most developer friendly (DX anybody? 😛)
So we should either allow users to do:
./node_modules/react-native/packager/packager.sh clean
or
./node_modules/react-native/packager/packager.sh -root . -clean
Also open to other solutions! cc @amasad
Issue Analytics
- State:
- Created 8 years ago
- Reactions:6
- Comments:38 (17 by maintainers)
Top Results From Across the Web
How to Clean the Package Cache in Arch Linux - MakeUseOf
Clearing the Package Cache on Arch Linux This will remove any packages from the cache that are not currently installed. Adding another -c...
Read more >How To Clean The Package Cache In Arch Linux - OSTechNix
You can clean the cached packages by running sudo pacman -Sc command. ... remove all cached versions of uninstalled packages, re-run paccache with...
Read more >How to clear react-native cache? - Stack Overflow
For React Native Init approach (without expo) use: npm start -- --reset-cache.
Read more >npm-cache
Manipulates packages cache. ... Used to add, list, or clean the npm cache folder. ... This command is primarily intended to be used...
Read more >conda clean
Remove all writable package caches. This option is not included with the --all flag. WARNING: This will break environments with packages installed using ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top 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
npm start – --reset-cache works much better than npm start --reset-cache