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

Categories

0 votes
258 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! [email protected] build: vue-cli-service build && gulp copy
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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 Answer

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
...