【发布时间】:2021-03-23 16:43:35
【问题描述】:
运行 npm run serve 后出现此错误:
in ./src/components/site-checker/insert-model.vue?vue&type=style&index=0&lang=stylus&
Syntax Error: ValidationError: Invalid options object. Stylus Loader has been initialized using an options object that does not match the API schema.
- options has an unknown property 'preferPathResolver'. These properties are valid:
object { stylusOptions?, sourceMap?, webpackImporter?, additionalData? }
我在这个框架中使用 VueJS:
[Vue 2] babel、路由器、vuex Vue CLI v4.5.8
【问题讨论】:
标签: node.js vue.js npm vue-cli stylus