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

Fix package.json cpu for node-linux-ppc64le #186

Merged
merged 1 commit into from
Feb 26, 2024

Conversation

yselkowitz
Copy link
Contributor

@yselkowitz yselkowitz commented Nov 28, 2022

Node.js defines process.arch as ppc64 for both obsolete BE and current LE systems. This currently prevents node-linux-ppc64le from being installable, e.g.:

$ npm i node-linux-ppc64le
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for node-linux-ppc64le@19.1.0: wanted {"os":"linux","arch":"ppc64le"} (current: {"os":"linux","arch":"ppc64"})
npm ERR! notsup Valid OS:    linux
npm ERR! notsup Valid Arch:  ppc64le
npm ERR! notsup Actual OS:   linux
npm ERR! notsup Actual Arch: ppc64

A combination of this (with a rebuild of all supported versions) and aredridel/node-bin-setup#5 is needed to fix npm install node on Power LE.

Node.js defines `process.arch` as `ppc64` for both obsolete BE and current LE systems.  This currently prevents node-linux-ppc64le from being installable:

$ npm i node-linux-ppc64le
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for node-linux-ppc64le@19.1.0: wanted {"os":"linux","arch":"ppc64le"} (current: {"os":"linux","arch":"ppc64"})
npm ERR! notsup Valid OS:    linux
npm ERR! notsup Valid Arch:  ppc64le
npm ERR! notsup Actual OS:   linux
npm ERR! notsup Actual Arch: ppc64
@ghatwala
Copy link

hi @aredridel - could someone review/merge this PR?

@aredridel aredridel merged commit 1290de6 into aredridel:master Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants