sass-loader报错:
ValidationError: Invalid options object. Sass Loader has been initialized using an options object that does not match the API schem
a.
- options has an unknown property 'data'. These properties are valid:
object { implementation?, sassOptions?, prependData?, sourceMap?, webpackImporter? }
1、node-sass@5.0.0和sass-loader@10.1.1
2. "node-sass": "^4.14.1",
"sass-loader": "^8.0.2",
也有可能是node-sass、sass-loader与node版本相关的问题,可以尝试降低node版本