Npm installation vue-cli error

npm installation vue-cli encountered the following error:
clipboard.png

clipboard.png

the one above at the beginning:

npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)

I checked that someone said that coffee-script was out of date, and the warning was ignored, so I ignored it.
I have tried to install with sudo, or not even with cnpm,. I have tried to install vue-cli, with npm before, but this is the first time I have encountered this error. The versions of node and npm are already up to date. What is the cause of reporting an error?

Mar.11,2021

there are several ways to try

  1. if you have checked the node and npm versions, check whether the vue-cli version is up to date
  2. then check whether eslint is arranged in the global node_modules
  3. you can do a processing or clean up the global cache to see which ones have failed
The
  

command is preceded by sudo, and try

again.
Menu