总报找不到stylus 属性什么情况? stylus和stylus-loader都下载了 少了什么东西吗
来源:2-1 Vue-cli 3.0 介绍

taojiming
2020-04-30
ERROR TypeError: Cannot read property ‘stylus’ of undefined
TypeError: Cannot read property ‘stylus’ of undefined
at module.exports (C:\Users\pc\Desktop\mk_elm\vue-sell-cube\node_modules\vue-cli-plugin-cube-ui\index.js:6:52)
at C:\Users\pc\Desktop\mk_elm\vue-sell-cube\node_modules@vue\cli-service\lib\Service.js:93:7
at Array.forEach ()
at Service.init (C:\Users\pc\Desktop\mk_elm\vue-sell-cube\node_modules@vue\cli-service\lib\Service.js:91:18)
at Service.run (C:\Users\pc\Desktop\mk_elm\vue-sell-cube\node_modules@vue\cli-service\lib\Service.js:230:10)
at Object. (C:\Users\pc\Desktop\mk_elm\vue-sell-cube\node_modules@vue\cli-service\bin\vue-cli-service.js:36:9)
at Module._compile (internal/modules/cjs/loader.js:1139:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:1159:10)
at Module.load (internal/modules/cjs/loader.js:988:32)
at Function.Module._load (internal/modules/cjs/loader.js:896:14)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! vue-sell-cube@0.1.0 serve: vue-cli-service serve
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the vue-sell-cube@0.1.0 serve script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\pc\AppData\Roaming\npm-cache_logs\2020-04-30T10_21_56_084Z-debug.log
1回答
-
ustbhuangyi
2020-05-02
你把你的代码放到 GitHub 上,我抽空帮你看下
022020-05-02
相似问题