I am trying to start up my application with npm start
, however I get the following errors:
rm: cannot remove 'dist/': Device or resource busy
When I try to run an lsof
I get the error message: bash: lsof: command not found
. I noticed that there is no /usr/sbin/
inside there, but only /usr/share
and /usr/ssl/
.
I am using this Visual Studio Code bash terminal from within a Windows 10 environment.
How can I resolve this?
lsb_release -a
to your question? That will help us determine the correct command to use to install lsof.dist
directory lie under one of the windows filesystems such as/mnt/c
or/mnt/d
? A frequent cause of "device busy" errors in WSL is when the directory or file is in use by a native Windows program.