-
Notifications
You must be signed in to change notification settings - Fork 36
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
npm ERR! code EUNSUPPORTEDPROTOCOL when using yarn's "workspace:" #129
Comments
Update:
If the workspace protocol is not supported, how do you guys manage intra module dependencies? |
So last three days I spent trying to make the release to no avail... tried everything I could came up with. In the last iteration I changed to pnpm instead of yarn. Interestingly it works to make a dry releae locally, but not on github actions... https://github.com/taskforcesh/nandu/actions/runs/3040480203/jobs/4896572401 By using custom semantic-release/npm with a never version of npm I manage to go a step further but then got stuck with another error impossible to understand: https://github.com/taskforcesh/nandu/actions/runs/3040464168/jobs/4896538148 I do not expect to get any help at this point, but certainly if you read this and are considering to use monorepos and semantic-release, you may also spend several days like I did to no avail... |
get the /home/runner/.npm/_logs/* from actions and things will get more transparent i hope. Add something like this as the last step in your action.
Also you can see the command executed that errored out |
@aarne Thanks. Yes, by uploading the log files I could see that the error came from "arborist" an internal module used by node itself. Downgrading to node 14 did the trick... although I did not investigate what is the root cause. |
The problem is with npm starting from version 8.5 that comes by default with node 16.15. Adding |
Thanks for the digging. We use yarn for our monorepos, so we have never faced with this kind of npm features. Could you pls update the readme.md troubleshooting section? UPD I forgot that there is already such a mention. )))
|
I am using yarn workspaces, and in order to depend one package to another in my monorepo I am using yarn's workspace protocol (https://yarnpkg.com/features/workspaces#publishing-workspaces)
However when trying to run multi-semantic-release it errors with the following:
Reference:
https://github.com/taskforcesh/nandu/runs/8274785071?check_suite_focus=true#step:5:91
The text was updated successfully, but these errors were encountered: