We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
yarn publish
yarn publish errors are opaque.
prepublishOnly
np
It should be clear why yarn publish failed, i.e. what error did prepublishOnly result in?
✖ Error publishing package: Command failed with exit code 2: yarn publish
There's no mention of why exactly yarn publish failed.
np - 5.2.1 Node.js - 12.8.1 npm - 6.10.2 Git - 2.23.0 OS - macOS 10.15.2
The text was updated successfully, but these errors were encountered:
This should be fixed by 818ff4b#diff-b9cfc7f2cdf78a7f4b91a753d10865a2R40. Older execa versions did not include stdout/stderr in error messages.
execa
Sorry, something went wrong.
No branches or pull requests
Description
yarn publish
errors are opaque.Steps to reproduce
prepublishOnly
script that always failsnp
(in Yarn mode)Expected behavior
It should be clear why
yarn publish
failed, i.e. what error didprepublishOnly
result in?Actual behaviour
There's no mention of why exactly
yarn publish
failed.Environment
np - 5.2.1
Node.js - 12.8.1
npm - 6.10.2
Git - 2.23.0
OS - macOS 10.15.2
The text was updated successfully, but these errors were encountered: