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

编译问题 #210

Open
supersbai opened this issue Apr 28, 2024 · 9 comments
Open

编译问题 #210

supersbai opened this issue Apr 28, 2024 · 9 comments

Comments

@supersbai
Copy link

0b64505a7bba1992ecb604c0a941a76
0b64505a7bba1992ecb604c0a941a76

问一下这个错误怎么解决,刚开始运行的时候显示的是modules missing,网上找了一下无果就按照cmd提示install了一下,然后出现这个tsc no found,求教

@cxOrz
Copy link
Owner

cxOrz commented Apr 29, 2024

@cxOrz
Copy link
Owner

cxOrz commented Apr 29, 2024

细看每一行字

@supersbai
Copy link
Author

细看每一行字

你说的是移除turbo吗,我昨天尝试过移除后安装了,不太行,是在根目录下移除还是别的?

@cxOrz
Copy link
Owner

cxOrz commented Apr 29, 2024

根目录下先移除,再 pnpm install 安装依赖

@supersbai
Copy link
Author

根目录下先移除,再 pnpm install 安装依赖

root目录下找不到,进入git文件里面后成功删除,在server中进行编译时提示缺乏tsc,百度后安装了tsc后编译还是和之前的错误,module 缺失
45ec5f3d643b5fbfc060d32a97c9fd5

@cxOrz
Copy link
Owner

cxOrz commented Apr 30, 2024

确认一下到底有没有安装依赖?
命令:pnpm install

@supersbai
Copy link
Author

确认一下到底有没有安装依赖? 命令:pnpm install

肯定安装了啊,刚才又试了一遍,安装时是一堆warnning,进入server编译时还是这样
e559facc1b0995bca934dd561e7efaa

@cxOrz
Copy link
Owner

cxOrz commented Apr 30, 2024

node 版本高了,依赖没装上。用lts吧

@cxOrz
Copy link
Owner

cxOrz commented Apr 30, 2024

pnpm/pnpm#6424

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