-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Labels
Bugthing that needs fixingthing that needs fixingPriority 2secondary priority issuesecondary priority issueRelease 7.xwork is associated with a specific npm 7 releasework is associated with a specific npm 7 release
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
Hi, I have a simple monorepo project with workspaces. Root pkg.json contains
"workspaces": [
"packages/*",
],
Command npm view ${tag} version
(tag is any package/* and is published and exists in the registry) ran in the command line from root returns version as expected.
But, running this command from the directory of any package gets stuck and returns nothing (the process is stuck).
Expected Behavior
npm view ${tag} version
command should behave the same no matter where ran.
Steps To Reproduce
- Have monorepo with workspaces
- Have published monorepo packages (at least the one you will try to "view")
- Run
npm view ${tag} version
from the directory of one of the packages, where $tag is one of the published packages - process will get stuck
Environment
- OS: Win 10
- Node: v14.17.3
- npm: 7.23.0
Metadata
Metadata
Assignees
Labels
Bugthing that needs fixingthing that needs fixingPriority 2secondary priority issuesecondary priority issueRelease 7.xwork is associated with a specific npm 7 releasework is associated with a specific npm 7 release