Troubleshooting for installing VUE scaffolding CLI or angular-cli using NPM

Source: Internet
Author: User
Troubleshooting when installing the Vue scaffolding CLI using NPM

Recently prepared to use NPM to install Vue learning, by watching Vue's introduction, it can be seen that Vue is similar to the recently popular MVVM framework Angular.js, which has a relatively steep learning curve, so that you can learn vue.js first with insufficient time.
Using NPM to install the vue.js times is wrong, the error message is:

C:\USERS\KOUOK>CNPM Install–global VUE-CLI
Downloading vue-cli to C:\Program files\nodejs\node_modules\vue-cli_tmp
Error:EPERM:operation not permitted, mkdir ' C:\Program files\nodejs\node_modules\vue-cli_tmp '
At Error (native)

This reason, mainly the C disk write permission is not enough, you can run as an administrator cmd name (method: To find C:\Windows\System32\cmd.exe through the directory, and then right-click, appear options, choose to run as an administrator)
Then enter the installation command again: NPM Install–global VUE-CLI can be installed successfully. By entering Vue, the installation succeeds if it can be named.

Reprint: http://www.iplayseo.com/wrong-with-vue-js-cli-install/Author: Kouok

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.