请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

icon.styls引入报错Module build failed: ParseError: unexpected ","

in ./node_modules/_css-loader@0.28.7@css-loader?{"minimize":false,"sourceMap":false}!./node_modules/_stylus-loader@2.5.1@stylus-loader?{"sourceMap":false}!./src/common/stylus/index.styl Module build failed: ParseError: unexpected ","    at Parser.error (/Users/boven/Desktop/VueDemo/ZKVueDicomViewer/node_modules/_stylus@0.52.4@stylus/lib/parser.js:257:11)    at Parser.stmt (/Users/boven/Desktop/VueDemo/ZKVueDicomViewer/node_modules/_stylus@0.52.4@stylus/lib/parser.js:812:32)    at Parser.statement (/Users/boven/Desktop/VueDemo/ZKVueDicomViewer/node_modules/_stylus@0.52.4@stylus/lib/parser.js:683:21)    at Parser.block (/Users/boven/Desktop/VueDemo/ZKVueDicomViewer/node_modules/_stylus@0.52.4@stylus/lib/parser.js:845:21)    at Parser.atrule (/Users/boven/Desktop/VueDemo/ZKVueDicomViewer/node_modules/_stylus@0.52.4@stylus/lib/parser.js:996:25)    at Parser.stmt (/Users/boven/Desktop/VueDemo/ZKVueDicomViewer/node_modules/_stylus@0.52.4@stylus/lib/parser.js:776:26)    at Parser.statement (/Users/boven/Desktop/VueDemo/ZKVueDicomViewer/node_modules/_stylus@0.52.4@stylus/lib/parser.js:683:21)    at Parser.parse (/Users/boven/Desktop/VueDemo/ZKVueDicomViewer/node_modules/_stylus@0.52.4@stylus/lib/parser.js:234:25)    at CachedPathEvaluator.importFile (/Users/boven/Desktop/VueDemo/ZKVueDicomViewer/node_modules/_stylus-loader@2.5.1@stylus-loader/lib/evaluator.js:73:20)    at CachedPathEvaluator.visitImport (/Users/boven/Desktop/VueDemo/ZKVueDicomViewer/node_modules/_stylus-loader@2.5.1@stylus-loader/lib/evaluator.js:162:27)    at CachedPathEvaluator.Visitor.visit (/Users/boven/Desktop/VueDemo/ZKVueDicomViewer/node_modules/_stylus@0.52.4@stylus/lib/visitor/index.js:28:40)    at CachedPathEvaluator.Evaluator.visit (/Users/boven/Desktop/VueDemo/ZKVueDicomViewer/node_modules/_stylus@0.52.4@stylus/lib/visitor/evaluator.js:156:18)    at CachedPathEvaluator.Evaluator.visitRoot (/Users/boven/Desktop/VueDemo/ZKVueDicomViewer/node_modules/_stylus@0.52.4@stylus/lib/visitor/evaluator.js:693:27)    at CachedPathEvaluator.Visitor.visit (/Users/boven/Desktop/VueDemo/ZKVueDicomViewer/node_modules/_stylus@0.52.4@stylus/lib/visitor/index.js:28:40)    at CachedPathEvaluator.Evaluator.visit (/Users/boven/Desktop/VueDemo/ZKVueDicomViewer/node_modules/_stylus@0.52.4@stylus/lib/visitor/evaluator.js:156:18)    at CachedPathEvaluator.Evaluator.evaluate (/Users/boven/Desktop/VueDemo/ZKVueDicomViewer/node_modules/_stylus@0.52.4@stylus/lib/visitor/evaluator.js:233:15) @ ./src/common/stylus/index.styl 4:14-188 13:3-17:5 14:22-196 @ ./src/main.js @ multi ./build/dev-client ./src/main.js

查了下网上说是锁进有问题 折腾了半天没弄出来 希望能被解决

正在回答

2回答

stylus 缩进问题吧

0 回复 有任何疑惑可以回复我~
  • 提问者 coldzk #1
    逗号跟缩进的问题 差点吐血
    回复 有任何疑惑可以回复我~ 2017-10-27 11:11:51
提问者 coldzk 2017-10-26 17:20:21

调整了一下格式 仍然报错:ParseError: unexpected "indent" 

0 回复 有任何疑惑可以回复我~
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信