[Vuejs]-Type 'npm install -g @vue/cli', npm show WARN and ERR

0👍

Like the error output is telling you, you have to run the command npm i --package-lock-only.

Also see What does 'npm i –package-lock-only' do?

-1👍

I think it should work

You execute this command. Install the package from yarn

yarn global add @vue/cli

and You can check you have the right version with this command:

vue --version

Leave a comment