Mac installation NPM install – G @Vue/cli error [How to Solve]

An error is reported when installing NPM install – G @Vue/cli on the Mac. The version is too high. Please solve with the follow code:

sudo chown -R $(whoami) /usr/local/*

Error reason: insufficient permissions

Solution:

Open the terminal and enter sudo - s

Enter your password

Create a folder to hold items. Use the CD command to switch to the directory location

Similar Posts: