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

umi.js from Terser TypeError: _jestWorker.Worker is not a constructor #244

Closed
PeachByMilk opened this issue Jul 8, 2021 · 1 comment
Closed

Comments

@PeachByMilk
Copy link

PeachByMilk commented Jul 8, 2021

Describe the bug
A clear and concise description of what the bug is.
无法启动项目 提示 :Failed to compile with 26 errors
umi.js from Terser
TypeError: _jestWorker.Worker is not a constructor

To Reproduce
Steps to reproduce the behavior:

  1. git clone 下载项目
  2. 进入目录后,npm install
  3. npm start
  4. 错误出现

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.
image

Desktop (please complete the following information):

  • OS: MACOS Big Sur 11.4 (20F71)
  • Browser chorme
  • Version 版本 91.0.4472.114(正式版本) (arm64)

Additional context
补充:

  1. 该设备是 M1 设备。
@PeachByMilk
Copy link
Author

提错地方 sorry

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

1 participant