node.js – ENOENT, no such file or directory
node.js – ENOENT, no such file or directory
I believe the previous answer is the correct answer to this problem but I was getting this error when I tried installing npm package (see below) :
The fix for me was : npm init --yes
Tilde expansion is a shell thing. Write the proper pathname (probably /home/
yourusername/Desktop/etcetcetc
) or use
process.env.HOME + /Desktop/blahblahblah
node.js – ENOENT, no such file or directory
- First try
npm install
,if the issue is not yet fixed try the following one after the other. npm cache clean
,thennpm install -g npm
,then
npm install
,Finallyng serve --o
to run the project.
Hope this will help….