-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Error: Cannot find module 'tunnel' in @actions/github@5.0.2
#1083
Comments
We've woken up to a similar issue this morning in our CI/CD pipeline. A quick fix if you're using @actions/core is to pin it to the previous version, e.g.: |
Looks like when |
``` "@actions/core": "^1.8.1", "@actions/github": "^5.0.2", "moment": "^2.29.3", "tunnel": "^0.0.6", <-- temporarily until actions/toolkit#1083 is fixed "webpack": "^5.72.1" "@types/jest": "^27.5.1", "@types/node": "^17.0.33", "@typescript-eslint/parser": "^5.23.0", "eslint": "^8.15.0", "eslint-plugin-jest": "^26.1.5", "jest": "^28.1.0", "jest-circus": "^28.1.0", "ts-jest": "^28.0.2", "typescript": "^4.6.4" ```
* chore(deps): bump @actions/github to v5.0.2 * fix: add tunnel as dep - ref: actions/toolkit#1083
This should now be resolved, I've gone ahead and updated and released new versions of all other packages that use it:
|
Describe the bug
In the latest version of
@actions/github 5.0.2
, we got the following error in our pipelineTo Reproduce
This is our repo
https://github.com/finos/legend-studio/runs/6414726076?check_suite_focus=true
Expected behavior
I think this happens because we use
Yarn
to install dependencies and we got a problem withYarn
not installingtunnel
because it is adevDependency
ofhttp-client
, but in fact,tunnel
should be a runtime dependency ofhttp-client
.I believe the workaround from our end is not so complicated - just manually installing
tunnel
, but could we make this adependency
instead?Thank you so much!
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: