Is there an existing issue for this?
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
Is there an existing issue for this?
Current Behavior
Hi, I have a simple monorepo project with workspaces. Root pkg.json contains
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} versioncommand should behave the same no matter where ran.Steps To Reproduce
npm view ${tag} versionfrom the directory of one of the packages, where $tag is one of the published packagesEnvironment