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

前端工程运行报错! #40

Open
ghostrin opened this issue Dec 21, 2024 · 0 comments
Open

前端工程运行报错! #40

ghostrin opened this issue Dec 21, 2024 · 0 comments

Comments

@ghostrin
Copy link

macos 13.4

node:V18, V20、v22、v23

yarn,pnpm, npm在不同node版本都有以下报错

chrome浏览器,

报错信息:

Unhandled Runtime Error
TypeError: The "original" argument must be of type Function

是不是安装canvas不畅导致的?通过其他方式解决了npm能正常安装canvas,也还是出现上述问题

用官方npm install -f 也是一样,浏览器打开同样报错。

没看到推荐用哪个node版本?

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