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

🐛 [BUG] 运行demo报错 #10923

Closed
wangqiuyuan1994 opened this issue Aug 28, 2023 · 2 comments
Closed

🐛 [BUG] 运行demo报错 #10923

wangqiuyuan1994 opened this issue Aug 28, 2023 · 2 comments

Comments

@wangqiuyuan1994
Copy link

之前用过几次模板安装都没问题,今天模板安装启动项目报错了。
image

输入第三个字母就报错了,键入有点慢,感觉是有内容在运行。
image

📷 复现步骤 | Recurrence steps
系统 ubuntu22.04
yarn & node 16.20.0

1.安装README的教程一步步安装,选umi4。
2.可以正常启动项目,在两个流量器firfox和chrome试过,都出现上述情形。

@wangqiuyuan1994
Copy link
Author

更新:
感觉是哪一个全局配置出了问题。
试了npm16的版本和20的版本都会报错。
其次,崩溃和组件无关,点击按钮,修改代码都会有报错

@wangqiuyuan1994
Copy link
Author

解决了,是caniuse-lite is outdated的问题。
更新了一下插件,就能用了

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