berry
berry copied to clipboard
[Documentation] YN0058 is a valid error code but missing from documentation
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
any idea how to fix this issue though? getting this when installing packages from private git repo.
You need to make sure your npmScopes are configured with proper authentication in your yarnrc.yml. https://yarnpkg.com/configuration/yarnrc#npmScopes
It works if concurrency is set to < 5. Otherwise fails inside docker.
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?