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

Not publishing anymore #3269

Closed
sullof opened this issue Mar 20, 2021 · 3 comments
Closed

Not publishing anymore #3269

sullof opened this issue Mar 20, 2021 · 3 comments

Comments

@sullof
Copy link

sullof commented Mar 20, 2021

pnpm version:

5.18.7

Code to reproduce the issue:

The problem is during the publishing.

Expected behavior:

It should publish like it did before for many months and many versions (look at https://www.npmjs.com/package/secrez, at least 40 versions have been published since I moved from Lerna to Pnpm)

Actual behavior:

I made no changes in the configuration of the package.json files along the monorepo, but it produces this error publishing the first changed package

Error: Command failed: cd packages/crypto && pnpm publish 
npm ERR! code ERR_INVALID_ARG_TYPE
npm ERR! The "path" argument must be of type string. Received undefined

Additional information:

The monorepo is at https://github.com/secrez/secrez but you can take a look at the package that fails. It is a simple basic package used by the others packages:
https://github.com/secrez/secrez/tree/master/packages/crypto

I don't know if any of the other publish fails or not because that is a basic library that interrupts the entire process.

@zkochan
Copy link
Member

zkochan commented Mar 20, 2021

Might be an issue with npm as pnpm run npm to publish. Try to downgrade npm to v6

@sullof
Copy link
Author

sullof commented Mar 20, 2021

@zkochan You are right. Downgrading npm to 6.14.11 it worked. Thanks a lot.
Still, I guess that you have to figure out what is going on there.

@sullof sullof closed this as completed Mar 20, 2021
@zkochan
Copy link
Member

zkochan commented Mar 20, 2021

There are a few issues with npm 7
here's another one: #2941

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants