Question:
Vue project, NPM run dev, the following error:
Or
reason:
The installed sass loader version is too high. Reinstall the lower version sass-loader.
Solution:
// Uninstall the current version
npm uninstall sass-loader
// Install the specified version
npm install --save-dev sass-loader@10
Read More:
- [Solved] Syntax Error: TypeError: this.getOptions is not a function
- [Solved] Syntax Error: TypeError: this.getOptions is not a function
- Vue Use scss Error: this.getOptions is not a function [How to Solve]
- [Solved] scss Error: TypeError: this.getOptions is not a function
- [Solved] Module build failed TypeError this.getOptions is not a function at Object.loader
- [Solved] Less Install Error: TypeError: this.getOptions is not a function
- [Solved] This.getoptions is not a function when installing sass loader and less loader
- [Solved] Input error: this. Getoptions is not a function
- [Solved] webpack Package Error: TypeError: this.getOptions is not a function style-loader
- [Solved] Vue Route Error: Uncaught TypeError: (0 , vue__WEBPACK_IMPORTED_MODULE_42__.defineComponent) is not a function
- [Solved] Vue Error: Uncaught TypeError: Vue.createApp is not a function
- [Solved] Vue2.0 Error: Syntax Error: TypeError: eslint.CLIEngine is not a constructor
- NPM run dev runs the Vue project and reports an error: Node Sass does not yet support your current environment
- Vue project Run Error: Syntax Error: Error: Cannot find module ‘less‘
- [Solved] Vue Error: Syntax Error: TypeError: Cannot set properties of undefined (setting ‘XXX’)
- error: Vue Project lang=“less“ Error [How to Solve]
- [Solved] Vue Project Error: Arrow function should not return assignment
- [Web Browser] “Uncaught TypeError: object is not a function“
- [Solved] Syntax Error: Error: Node Sass does not yet support your current environment: OS X Unsupported archi
- TypeError: r.indexOf is not a function TypeError: r.indexOf is not a function