0
点赞
收藏
分享

微信扫一扫

less-loader报错 TypeError: this.getOptions is not a function


使用less语法,运行项目时报错:TypeError: this.getOptions is not a function

less-loader报错 TypeError: this.getOptions is not a function_解决方案

原因: less-loader安装的版本过高

解决方案:

卸载重装低版本进行兼容

npm uninstall less-loader
npm install less-loader@6.0.0

less-loader报错 TypeError: this.getOptions is not a function_vue_02

重新运行

启动成功

less-loader报错 TypeError: this.getOptions is not a function_解决方案_03


举报

相关推荐

0 条评论