npm install stylus stylus-loader --save-dev提示错误

来源:15-3 组件拆分(下)

慕前端0329988

2017-12-04

新建webpack,然后npm install stylus stylus-loader --save-dev

chrome控制台出现

vue.esm.js?efeb:574 [Vue warn]: Error in beforeCreate hook: "SyntaxError: missing ) after argument list"

found in

---> <App> at src\App.vue

       <Root>


SyntaxError: missing ) after argument list

    at Object../node_modules/vue-style-loader/index.js!./node_modules/css-loader/index.js?{"sourceMap":false}!./node_modules/vue-loader/lib/style-compiler/index.js?{"vue":true,"id":"data-v-04c2046b","scoped":false,"hasInlineConfig":false}!./node_modules/vue-loader/lib/selector.js?type=styles&index=0&bustCache!./src/App.vue (app.js:1588)


写回答

1回答

ustbhuangyi

2017-12-04

报错很清楚了呀,有语法错误

0
0

Vue.js2.5+cube-ui重构饿了么App(经典再升级)

掌握Vue1.0到2.0再到2.5最全版本应用与迭代,打造极致流畅的WebApp

9868 学习 · 4162 问题

查看课程