-
Notifications
You must be signed in to change notification settings - Fork 607
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 add -p is does not see local package #1469
Comments
Is project b listed in your rush.json file under projects? |
I'm seeing this issue too. I suspect this is a regression. |
I have a minimal repro handy. Reproduce with |
Ah ha! I figured out why it was working for me earlier. Apparently, it works if the folder name is the same as the project name—or doesn't contain special characters. Or at least it does in this minimal repro of rush add -p working: Reproduce with |
@halfnibble Oh great, I understand now why I'm having troubles with local dependencies. With this behavior sending @scope/package-name in npm and using local dependencies in Rush is still possible ? Edit : Just thought that the best practice when containerizing my apps may be to |
My repros are not so insightful after all. It turns out that @VincentSurelle about not reinstalling packages from npm, if your local projects are in the In fact, I think this issue is a duplicate of #991. Therefore, I am closing it in favor of #991, which has more accurate information. Please reopen if you think this is incorrect. |
I found this issue by googling for "is not in the npm registry, or you have no permission to fetch it." The key part is this phrase from the above comment: “versions can be satisfied by the local project”. In my case,
|
Please prefix the issue title with the project name i.e. [rush], [api-extractor] etc.
Is this a feature or a bug?
Please describe the actual behavior.
a
,b
) without publishing any of themrush add -p b
in packagea
What is the expected behavior?
local package is discovered
If this is a bug, please provide the tool version, Node.js version, and OS.
5.9.1
v12.8.1
No
No
Mac OS X 10.14.6
The text was updated successfully, but these errors were encountered: