I used style-loader
in the project today, and found an error in packaging: typeerror: this Getoptions is not a function
visual inspection is a version problem. The default version of style-loader
is 3.3.1
. The reduced version is 2.0.0
, and the problem is solved
PS: the webpack version used is 4.28.4
Read More:
- [Solved] Less Install Error: TypeError: this.getOptions is not a function
- [Solved] Syntax 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] Syntax Error: TypeError: this.getOptions is not a function
- Vue Package Image Error: Syntax Error: Error: ‘**\node_modules\pngquant-bin\vendor\pngquant.exe‘
- Error: Rule can only have one resource source (provided resource and test + include + exclude)
- [Solved] Error: ENOENT: no such file or directory, scandir ‘..\node_modules\node-sass\vendor‘
- Solution to build error in Vue project (error in static/JS)/vendor.xxxxx.js from UglifyJs)
- [Solved] Vue Project Error: Error: Cannot find module ‘webpack‘ Require stack以及Error: Rule can only have one resource so
- OTS parsing error: invalid version tag [How to Solve]
- [Solved] Vue Error: Module build failed Error Node Sass version 6.0.1 is incompatible with ^4.0.0.
- Vue Install less Error: While resolving: [email protected]
- [Solved] start value has mixed support, consider using flex-start instead
- [Solved] Syntax Error: Error: Loading PostCSS Plugin failed: Cannot find module ‘autoprefixer‘
- Vue Use scss Error: this.getOptions is not a function [How to Solve]
- React project is packaged and set as required Error [How to Solve]
- [Solved] Vue Error: Error: Rule can only have one resource source (provided resource and test + include + ex
- [Solved] VUE D:\project\vueProject\vue-02\src\components\hello.vue 5:5 error Parsing error: x-invalid-end-tag
- When starting Vue project: cannot find module ‘webpack cli/bin/config yargs’ error resolution