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] Module build failed TypeError this.getOptions is not a function at Object.loader
- [Solved] This.getoptions is not a function when installing sass loader and less loader
- [Solved] Less Install Error: TypeError: this.getOptions is not a function
- [Solved] Syntax Error: TypeError: this.getOptions is not a function
- [Solved] Syntax Error: TypeError: this.getOptions is not a function
- [Solved] scss Error: TypeError: this.getOptions is not a function
- [Solved] Vue Route Error: Uncaught TypeError: (0 , vue__WEBPACK_IMPORTED_MODULE_42__.defineComponent) is not a function
- [Solved] Vue Project Error: Syntax Error: TypeError: this.getOptions is not a function
- [Solved] Input error: this. Getoptions is not a function
- [Solved] Vue uses webpack to package error: Createapp is not a function
- Vue Use scss Error: this.getOptions is not a function [How to Solve]
- [Solved] Vue calls style loader error: Module build failed: CssSyntaxError
- [Solved] Echart Error: Typeerror: axis Getaxesonzeroof is not a function
- [Vue warn]: Error in v-on handler: “TypeError: Object(…) is not a function“
- [Solved] node-xlsx Write excel Error: TypeError: n.indexOf is not a function
- TypeError: r.indexOf is not a function TypeError: r.indexOf is not a function
- [Solved] Vue Error: Uncaught TypeError: Vue.createApp is not a function
- [Web Browser] “Uncaught TypeError: object is not a function“
- [Solved] webpack Package Error: ERROR in multi ./src/main.js ./dist/bundle.js Module not found: Error: Can‘t resolv
- [Solved] Element Error: Error in render: TypeError: dateStr.match is not a function“