electron-builder icon indicating copy to clipboard operation
electron-builder copied to clipboard

EBADPLATFORM on install (for [email protected])

Open james-pre opened this issue 2 years ago • 6 comments

  • Electron-Builder Version: N/A (source)
  • Node Version: 18.17.1
$ npm i
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for [email protected]: wanted {"os":"darwin"} (current: {"os":"win32"})
npm ERR! notsup Valid os:  darwin
npm ERR! notsup Actual os: win32

james-pre avatar Oct 07 '23 19:10 james-pre

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] avatar Dec 07 '23 00:12 github-actions[bot]

@dr-vortex Did you ever find a solution to this?

RerdRice avatar Apr 04 '24 02:04 RerdRice

@RerdRice Unfortunately not.

james-pre avatar Apr 04 '24 10:04 james-pre

@mmaietta Any updates on this?

james-pre avatar May 04 '24 15:05 james-pre

Are you trying to install dependencies after checking out the repo? I think that's what you mean by Electron-Builder Version: N/A (source)?

If so, you'll need to retry with using pnpm install instead of npm

mmaietta avatar May 05 '24 17:05 mmaietta

Keep in mind I'm new at this, but I switched to using webpack for my pre-build and this issue has gone away. Sorry I don't have anything specific, its been a while since I got around this error. @james-pre, if you want we can talk more, maybe there's something in my setup that would help.

RerdRice avatar May 17 '24 02:05 RerdRice