Failed to compile with 1 errors 上午11:34:26
error in ./src/views/archive/boneage/components/gradeSet.vue?vue&type=style&index=0&id=0d1af019&lang=stylus&scoped=true&
Module build failed (from ./node_modules/stylus-loader/index.js):
RangeError: D:\develop\chengxu\qianduan\gitHub\new\kidgrow-hostital-platform-web\src\views\archive\boneage\components\gradeSet.vue:4827:1
4823|
4824|
4825|
4826|
4827|
---------^
4828|
4829|
4830|
Maximum call stack size exceeded
at RegExp.exec (<anonymous>)
at Lexer.null (D:\develop\chengxu\qianduan\gitHub\new\kidgrow-hostital-platform-web\node_modules\stylus\lib\lexer.js:428:38)
at Lexer.advance (D:\develop\chengxu\qianduan\gitHub\new\kidgrow-hostital-platform-web\node_modules\stylus\lib\lexer.js:204:19)
at Lexer.newline (D:\develop\chengxu\qianduan\gitHub\new\kidgrow-hostital-platform-web\node_modules\stylus\lib\lexer.js:715:44)
at Lexer.advance (D:\develop\chengxu\qianduan\gitHub\new\kidgrow-hostital-platform-web\node_modules\stylus\lib\lexer.js:209:15)
at Lexer.newline (D:\develop\chengxu\qianduan\gitHub\new\kidgrow-hostital-platform-web\node_modules\stylus\lib\lexer.js:715:44)
at Lexer.advance (D:\develop\chengxu\qianduan\gitHub\new\kidgrow-hostital-platform-web\node_modules\stylus\lib\lexer.js:209:15)
at Lexer.newline (D:\develop\chengxu\qianduan\gitHub\new\kidgrow-hostital-platform-web\node_modules\stylus\lib\lexer.js:715:44)
at Lexer.advance (D:\develop\chengxu\qianduan\gitHub\new\kidgrow-hostital-platform-web\node_modules\stylus\lib\lexer.js:209:15)
at Lexer.newline (D:\develop\chengxu\qianduan\gitHub\new\kidgrow-hostital-platform-web\node_modules\stylus\lib\lexer.js:715:44)
at Lexer.advance (D:\develop\chengxu\qianduan\gitHub\new\kidgrow-hostital-platform-web\node_modules\stylus\lib\lexer.js:209:15)
at Lexer.newline (D:\develop\chengxu\qianduan\gitHub\new\kidgrow-hostital-platform-web\node_modules\stylus\lib\lexer.js:715:44)
at Lexer.advance (D:\develop\chengxu\qianduan\gitHub\new\kidgrow-hostital-platform-web\node_modules\stylus\lib\lexer.js:209:15)
at Lexer.newline (D:\develop\chengxu\qianduan\gitHub\new\kidgrow-hostital-platform-web\node_modules\stylus\lib\lexer.js:715:44)
at Lexer.advance (D:\develop\chengxu\qianduan\gitHub\new\kidgrow-hostital-platform-web\node_modules\stylus\lib\lexer.js:209:15)
at Lexer.newline (D:\develop\chengxu\qianduan\gitHub\new\kidgrow-hostital-platform-web\node_modules\stylus\lib\lexer.js:715:44)
@ ./node_modules/vue-style-loader??ref--11-oneOf-1-0!./node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--11-oneOf-1-2!./node_modules/stylus-loader??ref--11-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/archive/boneage/components/gradeSet.vue?vue&type=style&index=0&id=0d1af019&lang=stylus&scoped=true& 4:14-551 14:3-18:5 15:22-559
@ ./src/views/archive/boneage/components/gradeSet.vue?vue&type=style&index=0&id=0d1af019&lang=stylus&scoped=true&
@ ./src/views/archive/boneage/components/gradeSet.vue
@ ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/archive/boneage/index.vue?vue&type=script&lang=js&
@ ./src/views/archive/boneage/index.vue?vue&type=script&lang=js&
@ ./src/views/archive/boneage/index.vue
@ ./src/router/modules/workbench.js
@ ./src/router/index.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.2.28:10010/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
你还不如贴个错误的截图出来呢,应该是代码语法错误,错误位置在错误信息里都给出来了,在gradeSet.vue文件中这个箭头对应的位置,你自己看下错误信息里,这个箭头指的是哪里的代码
你都干了些什么,一个组件4000多行???
内存泄漏了,超出最大堆栈,可能代码里存在死循环,或者使用定时器没有清除或者使用闭包不当等问题。具体你可以搜一下导致js内存泄漏的原因,排查一下
您好,我是有问必答小助手,你的问题已经有小伙伴为您解答了问题,您看下是否解决了您的问题,可以追评进行沟通哦~
如果有您比较满意的答案 / 帮您提供解决思路的答案,可以点击【采纳】按钮,给回答的小伙伴一些鼓励哦~~
ps:问答VIP仅需29元,即可享受5次/月 有问必答服务,了解详情>>> https://vip.csdn.net/askvip?utm_source=1146287632