berry icon indicating copy to clipboard operation
berry copied to clipboard

[Documentation] YN0058 is a valid error code but missing from documentation

Open strongpauly opened this issue 1 year ago • 3 comments

Currently investigating an install throwing this code, but the documentation is missing a description for it.

I would expect it to live here: https://yarnpkg.com/advanced/error-codes#yn0058

strongpauly avatar Jun 13 '24 08:06 strongpauly

any idea how to fix this issue though? getting this when installing packages from private git repo.

sabarnix avatar Sep 02 '24 14:09 sabarnix

You need to make sure your npmScopes are configured with proper authentication in your yarnrc.yml. https://yarnpkg.com/configuration/yarnrc#npmScopes

strongpauly avatar Sep 03 '24 08:09 strongpauly

It works if concurrency is set to < 5. Otherwise fails inside docker.

sabarnix avatar Sep 03 '24 08:09 sabarnix

I'm getting this error when trying to build my project on heroku:

➤ YN0058: │ ***********@git+ssh://[email protected]:*******/******.git#commit=*******************: Packing the package failed (exit code 1, logs can be found here: /tmp/xfs-04a8a70e/pack.log) Locally everything works fine. But on heroku packing is not working although installing is working, which means that all credentials for github are properly set. Anyone has an idea how to fix this?

alexiusp avatar Jul 30 '25 08:07 alexiusp