为了账号安全,请及时绑定邮箱和手机立即绑定

报错 throw new Error("Module '" + loader.path + "' is not a loader (must have normal or pitch function)");

报错   throw new Error("Module '" + loader.path + "' is not a loader (must have normal or pitch function)");

https://img1.sycdn.imooc.com//5b4ee9530001d6f412350727.jpg

正在回答

1 回答

已解决。之前加多了node-sass,删掉就好

{

test: /\.(scss|sass)$/,

use: [

"style-loader",

"css-loader",

{ //浏览器前缀

loader: 'postcss-loader',

options: {

sourceMap: true

}

},

"sass-loader"

]

}


0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

报错 throw new Error("Module '" + loader.path + "' is not a loader (must have normal or pitch function)");

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信