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

Unable to install dependencies on recent Node versions #381

Closed
kolyasapphire opened this issue Jan 14, 2022 · 1 comment
Closed

Unable to install dependencies on recent Node versions #381

kolyasapphire opened this issue Jan 14, 2022 · 1 comment

Comments

@kolyasapphire
Copy link
Contributor

kolyasapphire commented Jan 14, 2022

On Node 14 everything is fine, but on Node 17 I am unable to install dependencies:

YN0009: │ deasync@npm:0.1.24 couldn't be built successfully
YN0000: Failed with errors

In Yarn logs for this package install I am getting:

Usage Error: Couldn't find a script name "node-gyp" in the top-level (used by deasync@npm:0.1.24)

My specs:

macOS 12.1 on both M1 and non-Apple processors
Node.js v17.3.1

Installing node-gyp as a development dependency fixes this.

However, since it's probably an issue with the dependency itself (issue) and we use Yarn, we can overcome this in .yarnrc.yml:

packageExtensions:
  deasync@*:
    dependencies:
      node-gyp: latest
@lidofinance lidofinance deleted a comment Mar 10, 2022
@kolyasapphire kolyasapphire closed this as not planned Won't fix, can't repro, duplicate, stale Nov 2, 2023
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

2 participants
@kolyasapphire and others