Collectives™ on Stack Overflow
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about Collectives
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams
Error from chokidar (C:): Error: EBUSY: resource busy or locked, lstat 'C:\hiberfil.sys'
Error from chokidar (C:): Error: EBUSY: resource busy or locked, lstat 'C:\pagefile.sys'
Error from chokidar (C:): Error: EBUSY: resource busy or locked, lstat 'C:\swapfile.sys'
Error from chokidar (C:\node_modules): Error: EBUSY: resource busy or locked, lstat 'C:\hiberfil.sys'
Error from chokidar (C:\node_modules): Error: EBUSY: resource busy or locked, lstat 'C:\pagefile.sys'
Error from chokidar (C:\node_modules): Error: EBUSY: resource busy or locked, lstat 'C:\swapfile.sys'
Error from chokidar (C:\node_modules): Error: EBUSY: resource busy or locked, lstat 'C:\hiberfil.sys'
Error from chokidar (C:\node_modules): Error: EBUSY: resource busy or locked, lstat 'C:\pagefile.sys'
Error from chokidar (C:\node_modules): Error: EBUSY: resource busy or locked, lstat 'C:\swapfile.sys'
–
–
–
–
I fixed this issue by installing the
chart.js: 2.5.0
dependency.
The issue with my code is that I was using
react-chartjs-2
dependency and in order to use it, I needed to install
chart.js
.
Note that I had to install it manually.
npm i
wasn't working.
Hope it helps.
–
I had the same issue. You're probably working in a Linux environment. If it is so, before running the start script, you need to switch the terminal to sudo user.
This approach fixed my issue.
I had the same problem with
nativscript/angular
router.
Problem was bad import. I mean deep import like
@nativescript/angular/router
.
I changed it to
@nativescript/angular
because there is no more deep imports.
Maybe it is a similar problem with your react-router.
Here are some things you can try to fix the error message:
Delete all directories on
C:\Users\<Username>\AppData\Local\Temp\
that start with npm-.
npm cache clean
Run as an administrator
Ref:
npm Error : EBUSY resource busy or locked / npm | GitHub
–
Thanks for contributing an answer to Stack Overflow!
-
Please be sure to
answer the question
. Provide details and share your research!
But
avoid
…
-
Asking for help, clarification, or responding to other answers.
-
Making statements based on opinion; back them up with references or personal experience.
To learn more, see our
tips on writing great answers
.