首页 > 其他 > 详细

Module build failed: TypeError: this.getOptions is not a function at Object.lessLoader

时间:2021-06-26 23:45:34      阅读:174      评论:0      收藏:0      [点我收藏+]

Module build failed: TypeError: this.getOptions is not a function
at Object.lessLoader (E:\a-website-render\node_modules\less-loader\dist\index.js:19:24)

 

安装less-loader并且在页面写上lang="less"后,运行就报这个错

这是因为less-loader版本过高导致的,卸载后重新装即可

npm install less-loader@5.0.0 --save-dev

 

Module build failed: TypeError: this.getOptions is not a function at Object.lessLoader

原文:https://www.cnblogs.com/mankii/p/14938825.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!