Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

缺陷: Maximum call stack size exceeded umi3.2.0 node 12.14.0 mac #5125

Closed
shwzh opened this issue Jul 29, 2020 · 6 comments
Closed

缺陷: Maximum call stack size exceeded umi3.2.0 node 12.14.0 mac #5125

shwzh opened this issue Jul 29, 2020 · 6 comments
Assignees

Comments

@shwzh
Copy link

shwzh commented Jul 29, 2020

What happens?

yarn create umi 之后 umi3.2.0
用npm i 安装依赖,(用yarn 装依赖,yarn run i18n-remove 命令会报错)

运行 npm run i18n-remove 之后
再次运行 npm run start
报错:

Popup.js:187 Uncaught RangeError: Maximum call stack size exceeded
at Object.mergedMotion. [as onEnterStart] (Popup.js:187)
at Object.mergedMotion. [as onEnterStart] (Popup.js:194)
at Object.mergedMotion. [as onEnterStart] (Popup.js:194)
at Object.mergedMotion. [as onEnterStart] (Popup.js:194)
at Object.mergedMotion. [as onEnterStart] (Popup.js:194)
at Object.mergedMotion. [as onEnterStart] (Popup.js:194)
at Object.mergedMotion. [as onEnterStart] (Popup.js:194)
at Object.mergedMotion. [as onEnterStart] (Popup.js:194)
at Object.mergedMotion. [as onEnterStart] (Popup.js:194)
at Object.mergedMotion. [as onEnterStart] (Popup.js:194)
at Object.mergedMotion. [as onEnterStart] (Popup.js:194)
at Object.mergedMotion. [as onEnterStart] (Popup.js:194)
at Object.mergedMotion. [as onEnterStart] (Popup.js:194)
at Object.mergedMotion. [as onEnterStart] (Popup.js:194)
at Object.mergedMotion. [as onEnterStart] (Popup.js:194)
at Object.mergedMotion. [as onEnterStart] (Popup.js:194)
at Object.mergedMotion. [as onEnterStart] (Popup.js:194)
at Object.mergedMotion. [as onEnterStart] (Popup.js:194)
at Object.mergedMotion. [as onEnterStart] (Popup.js:194)
at Object.mergedMotion. [as onEnterStart] (Popup.js:194)
at Object.mergedMotion. [as onEnterStart] (Popup.js:194)
at Object.mergedMotion. [as onEnterStart] (Popup.js:194)
at Object.mergedMotion. [as onEnterStart] (Popup.js:194)
at Object.mergedMotion. [as onEnterStart] (Popup.js:194)
at Object.mergedMotion. [as onEnterStart] (Popup.js:194)
at Object.mergedMotion. [as onEnterStart] (Po

复现步骤,错误日志以及相关配置

相关环境信息

  • Umi 版本 3.2.0
  • Node 版本 12.14.0
  • 操作系统 mac
@shwzh
Copy link
Author

shwzh commented Jul 29, 2020

issue

@shwzh shwzh changed the title 缺陷 缺陷: Maximum call stack size exceeded umi3.2.0 node 12.14.0 mac Jul 29, 2020
@xiaohuoni
Copy link
Member

i18n-remove 做了啥?

@infnan
Copy link

infnan commented Aug 4, 2020

我也碰到了类似问题,尝试

rm -rf node_modules
rm -rf src/.umi
npm i

(把node_modules和.umi两个目录都删掉)之后貌似就好了

@xiaohuoni
Copy link
Member

缓存问题的话,其实删除 src/.umi/.cache 就可以。

@branchesgit
Copy link

Module build failed (from ./node_modules/@umijs/preset-dumi/lib/loader/index.js):
RangeError: Maximum call stack size exceeded
at Set.add ()
at watchers.forEach.item (/home/branches/branches/code/hqcontact/packages/hqcontact/node_modules/@umijs/preset-dumi/lib/utils/watcher.js:85:16)
at Array.forEach ()
at loop (/home/branches/branches/code/hqcontact/packages/hqcontact/node_modules/@umijs/preset-dumi/lib/utils/watcher.js:83:14)
at watchers.forEach.item (/home/branches/branches/code/hqcontact/packages/hqcontact/node_modules/@umijs/preset-dumi/lib/utils/watcher.js:88:11)
at Array.forEach ()
at loop (/home/branches/branches/code/hqcontact/packages/hqcontact/node_modules/@umijs/preset-dumi/lib/utils/watcher.js:83:14)
at watchers.forEach.item (/home/branches/branches/code/hqcontact/packages/hqcontact/node_modules/@umijs/preset-dumi/lib/utils/watcher.js:88:11)
at Array.forEach ()
at loop (/home/branches/branches/code/hqcontact/packages/hqcontact/node_modules/@umijs/preset-dumi/lib/utils/watcher.js:83:14)
at watchers.forEach.item (/home/branches/branches/code/hqcontact/packages/hqcontact/node_modules/@umijs/preset-dumi/lib/utils/watcher.js:88:11)
at Array.forEach ()
at loop (/home/branches/branches/code/hqcontact/packages/hqcontact/node_modules/@umijs/preset-dumi/lib/utils/watcher.js:83:14)
at watchers.forEach.item (/home/branches/branches/code/hqcontact/packages/hqcontact/node_modules/@umijs/preset-dumi/lib/utils/watcher.js:88:11)
at Array.forEach ()
at loop (/home/branches/branches/code/hqcontact/packages/hqcontact/node_modules/@umijs/preset-dumi/lib/utils/watcher.js:83:14)

@ ./src/.umi/core/routes.ts 28:19-44
@ ./src/.umi/umi.ts
@ multi ./src/.umi/umi.ts

@ycjcl868
Copy link
Contributor

还有吗?

@sorrycc sorrycc closed this as completed Jan 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants