Skip to content
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

monorepo with workspaces fails to publish to npm #51

Closed
nilzona opened this issue Apr 17, 2021 · 0 comments · Fixed by #53
Closed

monorepo with workspaces fails to publish to npm #51

nilzona opened this issue Apr 17, 2021 · 0 comments · Fixed by #53

Comments

@nilzona
Copy link
Contributor

nilzona commented Apr 17, 2021

I am experiencing the exact same issue described here:
npm/cli#2796

I am running on npm 7 on a on MacOS.

when the plugin runs npm publish packages/projectA --tag latest --dry-run from project's root folder it fails like the description above.

it works you add ./ to the path so that the commands instead becomes npm publish ./packages/projectA --tag latest --dry-run

Note: in my case the name in package.json for projectA is different from the folder name. So it might get fixed by #50 as well as #53

@nilzona nilzona changed the title monorepo with workspaces fails to publish with npm 7 monorepo with workspaces fails to publish to npm Apr 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant