Skip to content
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

Dependabot::SharedHelpers::HelperSubprocessFailed:  ERR_PNPM_UNSUPPORTED_PLATFORM  Unsupported platform for registry.npmjs.org/@swc/core-darwin-x64/... #9321

Closed
sentry-io bot opened this issue Mar 17, 2024 · 3 comments · Fixed by #9320
Labels
L: javascript T: bug 🐞 Something isn't working

Comments

@sentry-io
Copy link

sentry-io bot commented Mar 17, 2024

Sentry Issue: DELTAFORCE-YYW

Dependabot::SharedHelpers::HelperSubprocessFailed:  ERR_PNPM_UNSUPPORTED_PLATFORM  Unsupported platform for registry.npmjs.org/@swc/core-darwin-x64/1.4.8: wanted {"cpu":["x64"],"os":["darwin"],"libc":["any"]} (current: {"os":"linux","cpu":"x64","libc":"glibc"})

This error happened while installing a direct dependency of /home/dependabot/dependabot-updater/repo
Progress: resolved 1, reused 0, downloaded 0, added 0
  common/lib/dependabot/shared_helpers.rb:429:in `run_shell_command'
  dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11193/lib/types/private/methods/call_validation.rb:169:in `bind_call'
  dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11193/lib/types/private/methods/call_validation.rb:169:in `validate_call_skip_block_type'
  dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11193/lib/types/private/methods/call_validation.rb:111:in `block in create_validator_slow_skip_block_type'
  npm_and_yarn/lib/dependabot/npm_and_yarn/helpers.rb:171:in `run_pnpm_command'
...
(56 additional frame(s) were not displayed)
@github-actions github-actions bot added L: git:submodules Git submodules L: javascript L: ruby:bundler RubyGems via bundler labels Mar 17, 2024
@abdulapopoola abdulapopoola removed L: ruby:bundler RubyGems via bundler L: git:submodules Git submodules labels Mar 17, 2024
@abdulapopoola abdulapopoola moved this to In Progress in Dependabot Mar 17, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in Dependabot Mar 18, 2024
@abdulapopoola
Copy link
Member

See repro here

@abdulapopoola abdulapopoola reopened this Mar 22, 2024
@pboling
Copy link

pboling commented Apr 17, 2024

  proxy | 2024/04/17 16:25:28 [035] GET https://registry.npmjs.org:443/pnpm
  proxy | 2024/04/17 16:25:28 [035] 200 https://registry.npmjs.org:443/pnpm
  proxy | 2024/04/17 16:25:28 [035] WARN: Cannot write TLS response header from mitm'd client: write tcp 192.168.1.1:1080->192.168.1.2:58940: write: broken pipe
updater | 2024/04/17 16:25:28 ERROR <job_816158862> Error processing prettier-plugin-tailwindcss (Dependabot::SharedHelpers::HelperSubprocessFailed)
updater | 2024/04/17 16:25:28 ERROR <job_816158862>  ERR_PNPM_UNSUPPORTED_ENGINE  Unsupported environment (bad pnpm and/or Node.js version)
updater | 
updater | Your pnpm version is incompatible with "/home/dependabot/dependabot-updater/repo".
updater | 
updater | Expected version: ^8.15.7
updater | Got: 8.15.5
updater | 
updater | This is happening because the package's manifest has an engines.pnpm field specified.
updater | To fix this issue, install the required pnpm version globally.
updater | 
updater | To install the latest version of pnpm, run "pnpm i -g pnpm".
updater | To check your pnpm version, run "pnpm -v".

What on earth? All references to pnpm in my repository are in sync, and pegged to current release, which is 8.15.7.
Why is dependabot requiring 8.15.5?
Does using dependabot force a specific version of pnpm on a project?
That would be patently ridiculous.

@abdulapopoola
Copy link
Member

This should be fixed now by @deivid-rodriguez 's fix; closing as resolved.

@github-project-automation github-project-automation bot moved this from Ready to Done in Dependabot Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: javascript T: bug 🐞 Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants