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

Limit to win32 #274

Closed
linonetwo opened this issue Dec 29, 2023 · 0 comments
Closed

Limit to win32 #274

linonetwo opened this issue Dec 29, 2023 · 0 comments

Comments

@linonetwo
Copy link

linonetwo commented Dec 29, 2023

Can you use https://docs.npmjs.com/cli/v10/configuring-npm/package-json#os to limit it to only install (and gpy build) on windows?

Because it breaks mac and linux build, if use with

  "pnpm": {
    "overrides": {
      "node-abi": "latest",
      "prebuild-install": "latest"
    },

which is required to fix

Error: Could not detect abi for version 28.1.0 and runtime electron. Updating "node-abi" might help solve this issue if it is a new release of electron - Google Search

But if override node-abi to latest, I get error like #224 on mac and linux builds.

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

No branches or pull requests

1 participant