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

Platform with type "Windows_NT" and architecture "x64" is not supported by @bugsnag/cli #93

Closed
goblinbr opened this issue Apr 11, 2024 · 3 comments · Fixed by #94
Closed
Labels
released This feature/bug fix has been released

Comments

@goblinbr
Copy link
Contributor

on npm install --save-dev @bugsnag/cli it's always showing this error:

npm ERR! code 1
npm ERR! path C:\projetos\AplicativoAgronomos\node_modules\@bugsnag\cli
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node install.js
npm ERR! Platform with type "Windows_NT" and architecture "x64" is not supported by @bugsnag/cli.
npm ERR! Your system must be one of the following:
npm ERR!
npm ERR! [
npm ERR!   {
npm ERR!     "Type": "Windows",
npm ERR!     "Architecture": "x64",
npm ERR!     "Artifact": "x86_64-windows-bugsnag-cli.exe"
npm ERR!   },
npm ERR!   {
npm ERR!     "Type": "Windows",
npm ERR!     "Architecture": "i386",
npm ERR!     "Artifact": "i386-windows-bugsnag-cli.exe"
npm ERR!   },
npm ERR!   {
npm ERR!     "Type": "Linux",
npm ERR!     "Architecture": "x64",
npm ERR!     "Artifact": "x86_64-linux-bugsnag-cli"
npm ERR!   },
npm ERR!   {
npm ERR!     "Type": "Linux",
npm ERR!     "Architecture": "i386",
npm ERR!     "Artifact": "i386-linux-bugsnag-cli"
npm ERR!   },
npm ERR!   {
npm ERR!     "Type": "Darwin",
npm ERR!     "Architecture": "x64",
npm ERR!     "Artifact": "x86_64-macos-bugsnag-cli"
npm ERR!   },
npm ERR!   {
npm ERR!     "Type": "Darwin",
npm ERR!     "Architecture": "arm64",
npm ERR!     "Artifact": "arm64-macos-bugsnag-cli"
npm ERR!   }
npm ERR! ]

npm ERR! A complete log of this run can be found in: C:\Users\Rodrigo\AppData\Local\npm-cache\_logs\2024-04-11T12_30_34_219Z-debug-0.log

Node version: v18.20.1
NPM version: 10.5.2
OS: Windows 11 (23H2 22631.3447)

2024-04-11T12_30_34_219Z-debug-0.log

@mclack
Copy link

mclack commented Apr 11, 2024

Hi @goblinbr

Thanks for bringing our attention to this, and for raising the associated PR. Our CI has a restriction on allowing externally raised PRs, so we will need to take your commit and add it into one of our own PRs, but you will still be credited for this.

Are you able to confirm that the BugSnag CLI works as intended on your machine with the proposed changes?

@mclack mclack added the awaiting feedback Awaiting a response from a customer. Will be automatically closed after approximately 2 weeks. label Apr 11, 2024
@goblinbr
Copy link
Contributor Author

yes, it's working

npm install --save-dev @bugsnag/cli@git://github.com/goblinbr/bugsnag-cli.git#cf1f418879594dc4fca6832cfde396c3942bb537
npm WARN skipping integrity check for git dependency ssh://git@github.com/goblinbr/bugsnag-cli.git

added 12 packages, and audited 13 packages in 10s

1 package is looking for funding
  run `npm fund` for details

found 0 vulnerabilities
dir node_modules\.bin
11/04/2024  14:13    <DIR>          .
11/04/2024  14:13    <DIR>          ..
11/04/2024  14:13         9.573.888 bugsnag-cli.exe
11/04/2024  14:13               393 js-yaml
11/04/2024  14:13               327 js-yaml.cmd
11/04/2024  14:13               813 js-yaml.ps1
               4 arquivo(s)      9.575.421 bytes
               2 pasta(s)   280.576.692.224 bytes disponíveis

@mclack mclack added backlog We hope to fix this feature/bug in the future and removed awaiting feedback Awaiting a response from a customer. Will be automatically closed after approximately 2 weeks. labels Apr 15, 2024
@jasonMcCullough jasonMcCullough added released This feature/bug fix has been released and removed backlog We hope to fix this feature/bug in the future labels Apr 18, 2024
@toniewypada
Copy link

Hello 👋 ,

Your PR has been reviewed and included in release v2.2.0 do BugSnag CLI. Thanks for your contribution!

If you have any questions, please let us know!

ProMasoud added a commit to ProMasoud/Rocket.Chat.ReactNative that referenced this issue Jul 14, 2024
Fix error on installing node modules in windows systems based on bugsnag/bugsnag-cli#93
diegolmello pushed a commit to ProMasoud/Rocket.Chat.ReactNative that referenced this issue Aug 5, 2024
Fix error on installing node modules in windows systems based on bugsnag/bugsnag-cli#93
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released This feature/bug fix has been released
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants