-
Notifications
You must be signed in to change notification settings - Fork 46
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
v2.2.0 node-gyp rebuild error, incorrect scripts in npm registry #153
Comments
Same error on Windows 10
I'm adding |
I don't understand why the npm registry would have that extra script. It doesn't not appear in the package.json https://unpkg.com/browse/@parcel/[email protected]/package.json |
It's right there, named Correct me if I'm wrong but I see two issues that were introduced in 062bca4:
|
Any news on this? |
I'm also having the same issue, is there any progress, please |
Issue persists in v2.3.0 btw. |
unfortunately, I feel like they're not going to fix this |
I had to use "@parcel/watcher": "~2.1.0" in my project devDependencies to avoid problems with 'gyp: binding.gyp not found' on both Windows 10 with Python 3.11 and MacOS 12.6.5 with Python 3.10. The problems seem to start in "@parcel/watcher": "~2.2.0" with its "node-addon-api": "^7.0.0" dependency. |
|
@DustInComp Which OS, Node and npm version are you using? |
@mischnic Windows 10 Pro 19045.3693, Node 20.9.0, npm 10.2.4 Actually, I seem to have just resolved the issue on my end by updating our private package registry/proxy from Verdaccio version Maybe other users who've had this issue had a similar setup? |
Hi,
I am experiencing an unusual error with the latest version 2.2.0. When I try npm i @parcel/watcher I get the following error.
From what I can tell, in version 2.2.0 the install script (
"install": "node-gyp rebuild"
) was removed but it is still showing in the npm registry under version 2.2.0. https://registry.npmjs.org/@parcel%2fwatcher (versions['2.2.0'].scripts)OS: MacOS 13.4.1
node: 18.17.1
npm: 9.6.7
The text was updated successfully, but these errors were encountered: