Netlify-cli doesn't install

Hello! I got some problems while doing
<npm install netlify-cli -g> command.

It says:
npm ERR! code ENOENT
npm ERR! syscall lstat
npm ERR! path C:\Users\bogda\AppData\Local\npm-cache_cacache\content-v2\sha512\11\b8\68f0ae2321b1c0c67bb18bba38d8ead9805fd94cd72c663ea744ac949a484b16af021c8b69fdfcba85066e6663ff9f7c99f550546e9e33cff997f219983f
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, lstat ‘C:\Users\bogda\AppData\Local\npm-cache_cacache\content-v2\sha512\11\b8\68f0ae2321b1c0c67bb18bba38d8ead9805fd94cd72c663ea744ac949a484b16af021c8b69fdfcba85066e6663ff9f7c99f550546e9e33cff997f219983f’
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

can you help me to solve this issue?

the problem was in missing cache file, we need to run that downloads missing cache files or fix damaged cache files and then try to install netlify package again

1 Like