Execute the command at the vscode terminal: Vue add cube UI reports an error Command failed: NPM install — loglevel error Vue cli plugin cube UI – d the solution is as follows:
Exit vscode – & gt; Right click the visual studio code icon – & gt; Click Properties – & gt; Click compatibility – & gt; Check the “run this program as administrator” option – & gt; Click OK