当前位置:网站首页>Syntax Error: TypeError: this. getOptions is not a function

Syntax Error: TypeError: this. getOptions is not a function

2022-04-23 20:28:00 Yunmo - brother Kuang's blog

Problem scenario :vue Error reporting during project operation
 Insert picture description here
Check that there are no mistakes in the code
In fact, it involves this problem , That's the reason for the version , I installed less-loader Version too high , Uninstall and install the lower version
 Insert picture description here

npm uninstall --save less-loader //  uninstall 
npm i -D [email protected] //  install 
npm uninstall --save node-;ess //  uninstall 
npm i [email protected] //  install 
//  If node-less Installation failed , You can also directly package.json Write the version number in , Delete node_modules Folder , again npm i that will do 

版权声明
本文为[Yunmo - brother Kuang's blog]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204210551060851.html