Vue+webpack Install SASS process encountered insufficient permissions, directly remove Node_modus folder Reinstall, Node_modus first get administrator rights to delete

Source: Internet
Author: User
Tags install node npm install node

Vue Vue-style-loader!css-loader Error

Recently learning the Vue framework, using the Webpack Package Vue project, the following error occurred while executing NPM run start:

This dependency is not found:

* !! Vue-style-loader!css-loader? {"Minimize": false, "Sourcemap": false}!.. /.. /node_modules/vue-loader/lib/style-compiler/index? {"Vue": true, "id": "data-v-1d57e5ea", "scoped": false, "Hasinlineconfig": False}!stylus-loader? {"Sourcemap": false}!.. /.. /node_modules/vue-loader/lib/selector?type=styles&index=0!. /a.vue in./src/components/a.vue

To install it, you can RUN:NPM install--save!! Vue-style-loader!css-loader? {"Minimize": false, "Sourcemap": false}!.. /.. /node_modules/vue-loader/lib/style-compiler/index? {"Vue": true, "id": "data-v-1d57e5ea", "scoped": false, "Hasinlineconfig": False}!stylus-loader? {"Sourcemap": false}!.. /.. /node_modules/vue-loader/lib/selector?type=styles&index=0!. /a.vu

Solution Ideas:

NPM intall Sass-loader--save;

NPM install Node-sass--save;

Then running NPM run start will

Vue+webpack Install SASS process encountered insufficient permissions, directly remove Node_modus folder Reinstall, Node_modus first get administrator rights to delete

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.