-
Notifications
You must be signed in to change notification settings - Fork 98
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: Error: Command failed: npm install #159
Comments
same thing here
|
fix installation error for npm-audit fix #159
## [3.4.2](v3.4.1...v3.4.2) (2023-03-30) ### Bug Fixes * fix installation error for npm-audit ([86a0e59](86a0e59)), closes [#159](#159)
I disabled npm-audit. Try again using the latest. |
@cycjimmy
|
Was able to work around this by downgrading the node version to v14 from v16. Version 18 also failed. This is suboptimal as node v14 is going out of support very soon. Someone at Google also found the same workaround and implemented it.
This would have been easier to identify if the |
this is a temporary hack: cycjimmy/semantic-release-action#159
I was able to resolve the error by upgrading to v3 version (initially we used v2) of the action and downgrading to node v14 with setup node action |
i also experienced this. got it working by downgrading action to here's my config with - name: Semantic release
id: release
uses: cycjimmy/semantic-release-action@v3.4.1
with:
semantic_version: 18
extra_plugins: |
@semantic-release/release-notes-generator@^10
@semantic-release/github@^8
conventional-changelog-conventionalcommits@^5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} and previously failed action #4991193617. I think the latest |
Hi, It seems like a fix has been pushed to fix this issue but it is still not working. Do I miss something ?
|
For me it seems to have been due to the (peer)dependencies of the |
this is a temporary hack: cycjimmy/semantic-release-action#159
I am also facing same issue. Also it was working just couple of days ago and now suddenly it stopped working
|
About my comment earlier, it was a package that got updated 5 days ago - semantic-release-monorepo |
Broken again in v4 using the GH plugin due to semantic-release/github#902 / semantic-release/github#916 bumping Our workaround was with:
semantic_version: 24.1.0 Though pinning the GH plugin might be more advisable (if this is possible?) with:
extra_plugins: |
@semantic-release/github@10.3.5 |
had the same issue while using this action's version npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: @cycjimmy/semantic-release-action@4.1.0
npm error Found: semantic-release@23.1.1
npm error node_modules/semantic-release
npm error semantic-release@"^23.1.1" from the root project
npm error
npm error Could not resolve dependency:
npm error peer semantic-release@">=24.1.0" from @semantic-release/github@11.0.0
npm error node_modules/@semantic-release/github
npm error @semantic-release/github@"*" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution. fix for me was to upgrade to action version |
I have the following workflow config:
But it fails:
The text was updated successfully, but these errors were encountered: