Problem: When installing NPM I VUe-CLI-g, an error is reported as the problem message
General solutions (for Windows 10) :
Method 1: Click the search button at the bottom left of the screen, search for the keyword ‘command prompt’, right-click, and run as an administrator.
Method two: right click window badge or Window + X in the lower left of the screen, run as an administrator (Windows PowerShell (administrator)), you can.
This method is suitable for permission problems.