`yo angular` gives error: npm ERR! code ENOENT npm ERR! errno 34 (yes I have cleaned the cache and set .npmignore)
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I tried to run yo angular in a new project directory, but it gave me the ENOENT error somewhere along the way. Yes I have looked at this similar question , but its solution doesn't work for me. I ran these things on the empty new project directory right before running yo angular : touch .npmignore npm cache clear npm cache clean But I still get: npm ERR! Error: ENOENT, lstat '/home/ubuntu/app_c/node_modules/grunt/ internal-tasks/bump.js' npm ERR! If you need help, you may report this *entire* log, npm ERR! including the npm and node versions