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

解决因为node版本问题导致项目无法运行 #258

Open
xhnbzdl opened this issue Aug 10, 2023 · 1 comment
Open

解决因为node版本问题导致项目无法运行 #258

xhnbzdl opened this issue Aug 10, 2023 · 1 comment

Comments

@xhnbzdl
Copy link

xhnbzdl commented Aug 10, 2023

大部分都是因为node版本问题,使用nvm将node版本切换到nvm use 14.21.3,然后再用yarn执行还原就好了,用npm install执行还原虽然还原没有报错,但是项目启动的时候mock有部分报error。导致页面一直起不来。这边推荐用yarn还原,我使用的yarn版本是1.22.19

切换node版本

image

执行还原

image

启动项目

image

@yyljwyy
Copy link

yyljwyy commented Sep 16, 2023

根据版本测试编译成功。
但有个问题,作者有计划升级到16或者18吗?18引入的新的Request技术是否会替换原来的调用组件?

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

2 participants