Tags
react.js
Asked 1 years ago
20 Jul 2022
Views 1182
Myrtie

Myrtie posted

React native - Uncaught Error Error: EBUSY: resource busy or locked

Uncaught Error Error: EBUSY: resource busy or locked, rename ' \.expo\state.json.276849053' -> ' \.expo\state.json'
css-learner

css-learner
answered Nov 30 '-1 00:00

just rename ' \.expo\state.json.276849053' to ' \.expo\state.json'

it says answer itself i think
Mitul Dabhi

Mitul Dabhi
answered Nov 30 '-1 00:00



 npm cache clean

it will remove/clean cache
if you get this kind of problem


npm ERR! As of npm@5, the npm cache self-heals from corruption issues
npm ERR!   by treating integrity mismatches as cache misses.  As a result,
npm ERR!   data extracted from the cache is guaranteed to be valid.  If you
npm ERR!   want to make sure everything is consistent, use `npm cache verify`
npm ERR!   instead.  Deleting the cache can only make npm go slower, and is
npm ERR!   not likely to correct any problems you may be encountering!
npm ERR!
npm ERR!   On the other hand, if you're debugging an issue with the installer,
npm ERR!   or race conditions that depend on the timing of writing to an empty
npm ERR!   cache, you can use `npm install --cache /tmp/empty-cache` to use a
npm ERR!   temporary cache instead of nuking the actual one.
npm ERR!
npm ERR!   If you're sure you want to delete the entire cache, rerun this comman
d
npm ERR!   with --force.




if this command does not help

 npm cache clean --force


you can force to clean cache

let me know if help or not to solve
EBUSY: resource busy or locked
Post Answer