funbox / optimizt

CLI image optimization tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installation errors

NovalnetLLC opened this issue · comments

Windows 7, Node.js v13.14.0

npm -g install @funboxteam/optimizt

npm ERR! code EEXIST
npm ERR! path C:\Users\Oleg\AppData\Roaming\npm\node_modules@funboxteam\optimizt\cli.js
npm ERR! dest C:\Users\Oleg\AppData\Roaming\npm\optimizt
npm ERR! EEXIST: file already exists, cmd shim 'C:\Users\Oleg\AppData\Roaming\npm\node_modules@funboxteam\optimizt\cli.js' -> 'C:\Users\Oleg\AppData\Roaming\npm\optimizt'
npm ERR! File exists: C:\Users\Oleg\AppData\Roaming\npm\optimizt
npm ERR! Remove the existing file and try again, or run npm
npm ERR! with --force to overwrite files recklessly.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Oleg\AppData\Roaming\npm-cache_logs\2021-12-15T11_58_24_277Z-debug.log

It does not look like an Optimizt errror. More like npm vs. Windows error.

Would you mind to do what npm suggests: remove the existing file and try again? Or install the package with --force flag.

Yes, installing the package with --force flag helped
Thank you