Tag Archives: Cli Write Error

Cli Write Error: This is related to npm not being able to find a file. [Solved]

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

Write the cli by hand and report an error, it won’t work.

Solution:
You need to open the first line of the path, and then delete the package, re-run the npm link can be