-
Notifications
You must be signed in to change notification settings - Fork 604
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
[rush] Internal Error "Cannot find installed dependency" with PNPM 5 #2542
Comments
This is a bug. I have seen it before. Having a repro is very helpful, thanks! The The simple workaround is to run Ideally, someone should be running Another option is to enable I wonder if we should document this better. |
Thanks for the fasten response, I try either the |
I think we should at the very least improve the docs. If we can't fix the bug easily, we could change the error message to give more useful advice than |
Or maybe a message with more certain information targeting this issue? Software defect really doesn't give any information for next step. |
@iclanton we are hearing about this issue a lot lately. I think we should bump the priority for investigating it. If there isn't an easy fix, maybe we could at least improve the error message to direct people to the known workarounds. 👉 Note that this same error message is reported (for completely different reasons) when using PNPM 6. Issue #2601 is tracking the PNPM 6 incompatibility. |
I upgraded pnpm to v7 and encountered this error. https://github.com/jeremymeng/azure-sdk-for-js/tree/engsys/bump-rush-pnpm-version |
Just noticed that this issue is for PNPM 5. Should I log a new issue for PNPM 7 @octogonz? |
@jeremymeng are you using |
@octogonz No, we did attempt to to use |
I'm seeing this too with latest rush and pnpm, 5.74.0 and 7.30 respectively |
Team mate had the same issue. |
Summary
[rush] Using
rush update
twice raiseRepro steps
rush install
rush update
Details
The error raised says about the @nestjs/common package on data project which is the same installed on ui project.
The objective is to write a custom service with
@Injectable()
attribute on a separate project.Standard questions
Please answer these questions to help us investigate your issue more quickly:
@microsoft/rush
globally installed version?rushVersion
from rush.json?useWorkspaces
from rush.json?node -v
)?The text was updated successfully, but these errors were encountered: