Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
280 views
in Technique[技术] by (71.8m points)

vue cli3项目npm run build就Maximum call stack size exceeded

npm run serve 可以成功跑起来, npm run build就Maximum call stack size exceeded

`D:mobilenode_modulestapablelibHookCodeFactory.js:32

                            fn = new Function(
                                 ^

RangeError: Maximum call stack size exceeded

at new Function (<anonymous>)
at AsyncSeriesHookCodeFactory.create (D:mobile
ode_modulesapablelibHookCodeFactory.js:32:10)
at AsyncSeriesHook.compile (D:mobile
ode_modulesapablelibAsyncSeriesHook.js:24:18)
at AsyncSeriesHook._createCall (D:mobile
ode_modulesapablelibHook.js:24:15)
at AsyncSeriesHook.lazyCompileHook [as callAsync] (D:mobile
ode_modulesapablelibHook.js:153:21)
at source.tapAsync (D:mobile
ode_modulesenhanced-resolvelibResultPlugin.js:16:26)
at AsyncSeriesBailHook.eval [as callAsync] (eval at create (D:mobile
ode_modulesapablelibHookCodeFactory.js:32:10), <anonymous>:7:1)
at Resolver.doResolve (D:mobile
ode_modulesenhanced-resolvelibResolver.js:235:16)
at resolver.getHook.tapAsync (D:mobile
ode_modulesenhanced-resolvelibNextPlugin.js:16:13)
at AsyncSeriesBailHook.eval [as callAsync] (eval at create (D:mobile
ode_modulesapablelibHookCodeFactory.js:32:10), <anonymous>:7:1)
at Resolver.doResolve (D:mobile
ode_modulesenhanced-resolvelibResolver.js:235:16)
at fs.stat (D:mobile
ode_modulesenhanced-resolvelibFileExistsPlugin.js:29:14)
at process.nextTick (D:mobile
ode_modulesenhanced-resolvelibCachedInputFileSystem.js:73:15)
at _combinedTickCallback (internal/process/next_tick.js:131:7)
at process._tickCallback (internal/process/next_tick.js:180:9)

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! mobile@0.1.0 build: vue-cli-service build && gulp copy
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the mobile@0.1.0 build 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:UserspingAppDataRoamingnpm-cache_logs2020-06-17T16_17_52_483Z-debug.log`


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...