You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm running into an issue when trying to publish a private NPM package that exposes a CLI.
The package is written in TypeScript and compiles without error, I can also install it from source and the CLI works as intended.
However, when I try to publish the package I receive the error
npm ERR! 400 Bad Request - PUT https://registry.npmjs.org/@<my org name here>%2fcodemods - child "params" fails because ["params" must be an object]
I cannot figure out what "params" refers to, it doesn't appear in my source code. The package has never been published before, and does not exist in the registry. I can also publish other packages to the same org without error.
Here is my package.json file with some info redacted between <>
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I'm running into an issue when trying to publish a private NPM package that exposes a CLI.
The package is written in TypeScript and compiles without error, I can also install it from source and the CLI works as intended.
However, when I try to publish the package I receive the error
I cannot figure out what "params" refers to, it doesn't appear in my source code. The package has never been published before, and does not exist in the registry. I can also publish other packages to the same org without error.
Here is my
package.json
file with some info redacted between<>
I am using Node v18.18.2 and npm version 9.8.1
Any help from the community would be much appreciated!
Beta Was this translation helpful? Give feedback.
All reactions