cnpm install -g @vue/cli
Cnpm: the file D:\program files\nodejs\cnpm.ps1 cannot be loaded because running scripts is prohibited on this system. For more information, see about in HTTPS:/go.Microsoft
oft.COM/fwlink /?LINKID = 135170_Execution_Policies。
location line: 1 character: 1
+ cnpm install – G @ Vue/cli
+ ~ ~ ~
+ CategoryInfo : SecurityError: (:) [],PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess
cmd: enter Start-Process powershell -Verb runAs
Continue to re execute set-ExecutionPolicy RemoteSigned
. Select Y
Then re-execute cnpm install -g @vue/cli
Read More:
- [Solved] vuecli2+axios Error: NotSameOriginAfterDefaultedToSameOriginByCoep
- [Solved] vueCli 4.x Upgrade to 5.x Error: Progress Plugin Invalid Options
- [Solved] Cnpm installation -g@ view/cli Error: error: eperm: operation not allowed…
- ‘webpack dev server’ is not an internal or external command, nor is it a runnable program or batch file. Solution: error in cnpm run dev:
- [Solved] To install it, you can run: npm install –save core-js/modules/es.error.cause.js
- Vue Error: renren-fast-vue execute npm install Error [How to Solve]
- [Weex]Error in creating project NPM: unable to load file D:\program files\nodejs\node_ global\ weex.ps1 Because scripts are not allowed to run on this system.
- VUE: How to Solve NPM Always Install Error
- [Solved] Install The Latest Version of Jest Error: TypeError: Cannot read property ‘instrument‘ of undefined
- How to Solve npm-install Command -4048 Error
- Vue3 + vite install element-plus error [How to Solve]
- Vue Install less Error: While resolving: [email protected]
- npm install error code EINTEGRITY sha1 [How to Solve]
- How to Solve Vue add element Install Error
- [Solved] Less Install Error: TypeError: this.getOptions is not a function
- [Solved] react-quill failed to install error: Could not resolve dependency
- [Solved] npm Install vuex Error: npm ERR! code ERESOLVE
- [Solved] npm install Error: error code ERR_SOCKET_TIMEOUT
- [Solved] Npm install Error: verbose stack Error: unable to resolve dependency tree
- [Solved] VUE npm install Error: Module build failed: Error: ENOENT: no such file or directory, scandir