手写cli报错 This is related to npm not being able to find a file.

npm ERR! path C:\Users\admin\AppData\Roaming\npm\node_modules\lcli\bin\l
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod 'C:\Users\admin\AppData\Roaming\npm\node_modules\lcli\bin\l'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\admin\AppData\Roaming\npm-cache\_logs\2021-08-15T05_05_12_841Z-debug.log

自己手写cli报错,无法运行,

需要打开第一行的path,然后将这个包删除掉,重新进行npm link 即可

猜你喜欢

转载自blog.csdn.net/my_bo/article/details/119712592
今日推荐