Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Bug]windows环境下 Umi max项目作为monorepo子项目时,执行max setup报错 #12680

Open
hzl-stack opened this issue Sep 3, 2024 · 0 comments

Comments

@hzl-stack
Copy link

image
image
umi max项目作为monorepo子项目时,子包下生成的node_modules中的.bin文件夹中的max命令为子包文件夹所在相对路径,这个时候对单个workspace使用yarn install触发postinstall (max setup)可以成功,但在项目根目录下使用yarn install时 触发的实际上是node_modules中各个workspace的postinstall 此时运行的max setup命令就会多出一个node_modules
image
image

请问一下这个问题目前有没有解决的方案呢

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant