前端开发:npm install报错npm ERR! enoent ENOENT:no such file o

前言

报错提示

通过npm install初始化项目的时候,项目初始化失败,并且在控制台有如下的报错提示:

npm ERR! code ENOENTnpm ERR! syscall opennpm ERR! path /Users/admin/Documents/Project.3.0.1/src/assets/img/package.jsonnpm ERR! errno -2npm ERR! enoent ENOENT: no such file or directory, open '/Users/admin/Documents/Project.3.0.1/src/assets/img/package.json'npm ERR! enoent This is related to npm not being able to find a file.npm ERR! enoentnpm ERR! A complete log of this run can be found in:npm ERR!     /Users/admin/.npm/_logs/2021-07-16T02_47_23_752Z-debug.log

本文链接:https://my.lmcjl.com/post/934.html

展开阅读全文

4 评论

留下您的评论.