-
Notifications
You must be signed in to change notification settings - Fork 21
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
Install dependencies after cloning not working with pnpm-workspace #128
Comments
@pi0 any guidance here? I'm attempting to solve this issue, and I would be grateful for any advice or tips you can offer. Thank-you! |
Hi dear @Callan003 thanks for the nice reproduction and sorry for delay on this. I have made upstream issue in nypm that handles downloading which by default it probably has to auto skip interactive prompts like this. |
hi @pi0, there are 2 ways of bypassing confirm popup first one will eagerly will force installation of the dependencies in this case it ends in:
second involves setting terminal in CI mode and run install with config
In this case in ends in:
I think in both cases we end up in situations where nuxi lacks permissions to be executed, but it's just assumption. |
Environment
Node: v20.10.0
"nuxt": "^3.9.0",
"vue": "^3.4.3",
"vue-router": "^4.2.5"
Reproduction
Method1:
Method2:
Describe the bug
When trying to use the new install feature with pnpm-workspace the project gets stuck on pnpm install.
I think it gets stuck on the following prompt: "The modules directory at "C:\Projects\test-nuxt-layers\a\node_modules" will be removed and reinstalled from scratch. Proceed? (Y/n)". Because running the "pnpm install" command will not 'answer' with a Y/n, the process gets stuck.
On bigger projects it will ask this prompt for each node_modules which will trigger the "MaxListenersExceededWarning: Possible EventEmmiter memory leak detected" warning. Like I mentioned here
I am not sure if it is a pnpm bug or a c12 bug, but it seems to be breaking only when using
install: true
andpnpm-workspace.yaml
fileAdditional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: