Getting Error EBUSY: resource busy or locked - pnpm install #50143
-
Select Topic AreaQuestion BodyI tried to install dependencies from Error: EBUSY: resource busy or locked, write
at Object.writeSync (fs.js:568:3)
at Object.writeFileSync (fs.js:1199:26)
at new Gpio (/home/pi/Desktop/pitesting/node_modules/onoff/onoff.js:96:10)
at Object.<anonymous> (/home/pi/Desktop/pitesting/blink.js:3:7)
at Module._compile (internal/modules/cjs/loader.js:701:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
at Module.load (internal/modules/cjs/loader.js:600:32)
at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
at Function.Module._load (internal/modules/cjs/loader.js:531:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:754:12) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Okay this error message usally shows up on windows when something goes wrong while installing the package that's has already been installed. So in order to fix this issue I'll recommend you to clean the temporary files on your pc. There is another method of solving this but it has been deprecated but I'll tell you how that works as well. Basically you need to clear the temporary data anyways so in order to do that using npm you can run the following command Hope it helps :) |
Beta Was this translation helpful? Give feedback.
Okay this error message usally shows up on windows when something goes wrong while installing the package that's has already been installed. So in order to fix this issue I'll recommend you to clean the temporary files on your pc.
Head over to search bar and search for this term
%temp%
and delete all the files. Don't worry it's just the temporary files that's been stored on your computer for managing the data. If you delete it nothing will happen so go ahead and do that.There is another method of solving this but it has been deprecated but I'll tell you how that works as well. Basically you need to clear the temporary data anyways so in order to do that using npm you can run the followin…