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

Installing 11.0.0 complains that Rimraf versions prior to v4 are no longer supported #3106

Closed
crystalfp opened this issue Dec 5, 2024 · 3 comments

Comments

@crystalfp
Copy link

Installing latest node-gyp version 11.0.0 elicits a warning from npm install:

npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
  • Node Version: v22.5.1 and 10.9.1
  • Platform:
OS Name:                       Microsoft Windows 11 Pro
OS Version:                    10.0.26100 N/A Build 26100
System Type:                   x64-based PC
  • Compiler: not relevant
  • Module: not relevant
@lukekarrys
Copy link
Member

Can you share the package.json that are installing? I can't reproduce from only installing node-gyp@^11.0.0:

❯ cat package.json
{
  "name": "node-gyp-11",
  "version": "1.0.0",
  "dependencies": {
    "node-gyp": "^11.0.0"
  }
}
❯ rm -rf package-lock.json node_modules
❯ npm --version
10.9.2
❯ npm i

added 98 packages, and audited 99 packages in 828ms

16 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
❯ npm ls rimraf
[email protected] /Users/lukekarrys/Desktop/scratch/node-gyp-11
└─┬ [email protected]
  └─┬ [email protected]
    └─┬ [email protected]
      └── [email protected]

@crystalfp
Copy link
Author

Wrong target. Seems the problem is created by node-gyp called by electron-builder:

I close this issue and reopen it for electron-builder asking to upgrade their copy of node-gyp.
Thanks for testing!

@crystalfp
Copy link
Author

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