Replies: 1 comment
-
Seems like a bug to me - a sibling workspace name should be treated the same as a node_modules-installed package. You could file an RRFC, or we could discuss here, but if the npm team agrees, you’d only need to file an issue on the cli :-) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So it seems that
npm explore
does not like to be run inside workspaces - I can't find information if there was a specific reason for this?Feels like it should be able to just work - given that you can hack around it by doing something like
path.dirname(require.resolve('@my/package/package.json'))
?Happy to open a proper RFC or a PR for this.
Beta Was this translation helpful? Give feedback.
All reactions