Comments (11)
Same error on Windows 10
node: 18.17.1
npm: 9.8.1
node_gyp: 9.4.0
npm i @parcel/[email protected]
installs just fine.
npm i @parcel/[email protected] --ignore-scripts
works too but that's not the way to go.
I'm adding "@parcel/watcher": "~2.1"
to my dependencies until this is fixed.
from watcher.
I don't understand why the npm registry would have that extra script. It doesn't not appear in the package.json
It's right there, named build
(originally rebuild
(834994b), before you renamed it with v2.2.0-alpha.0).
Correct me if I'm wrong but I see two issues that were introduced in 062bca4:
- prebuilds are no longer used because the
prebuilds
dir created by prebuildify isn't packaged anymore and the recommended"install": "node-gyp-build"
script was removed. Instead, there's now a build script that tries to runnode-gyp rebuild
when the package is installed. node-gyp rebuild
fails becausesrc
andbindings.gyp
were removed from the package files as well
from watcher.
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
from watcher.
Any news on this?
from watcher.
I'm also having the same issue, is there any progress, please
from watcher.
Issue persists in v2.3.0 btw.
from watcher.
Issue persists in v2.3.0 btw.
unfortunately, I feel like they're not going to fix this
from watcher.
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.
from watcher.
npm install --save-dev parcel
, as described in the docs, fails in a clean project directory. How is this not getting more attention?
from watcher.
@DustInComp Which OS, Node and npm version are you using?
from watcher.
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 5.14.0
to 5.27.0
. However, I'm not sure how this update actually fixed the problem. The only change in installation I can find is the modules' "resolved" file paths in the package-lock.json
.
Before: https://<verdaccio>/@parcel%2fwatcher/-/watcher-2.3.0.tgz
After: https://<verdaccio>/@parcel/watcher/-/watcher-2.3.0.tgz
Maybe other users who've had this issue had a similar setup?
from watcher.
Related Issues (20)
- Possible deadlocks with overlapping subscriptions HOT 1
- readme backend uses unclear HOT 1
- Crash when running in alpine podman container
- Second install fails if install with pnpm and node-linker=hoisted HOT 3
- Separate packages for precompiled binaries HOT 1
- @parcel/watcher not working with Docker node:alpine image HOT 3
- Watcher not reporting events when used in docker. HOT 2
- npm ci cannot locate a prebuild for any given architecture HOT 3
- Error: No prebuild or local build of @parcel/watcher found. Tried @parcel/watcher-linux-arm64-musl. HOT 14
- Specifying path to `watchman` executable HOT 1
- When using Watchman on Windows, a console window pops up when subscribing HOT 1
- gyp: binding.gyp not found (...) while trying to load binding.gyp HOT 33
- error when use node v18.18 on github runner images
- InotifyBackend hungs forever when inotify_init1 returns error HOT 1
- AWS Amplify build error HOT 2
- Github M1 Build Error sh: node-gyp-build: command not found HOT 1
- Change event is not emitted on Windows when continuously appending to an initially existing file
- when moving folder to a watched folder , only event for the moved folder is generated and not for files inside the folder HOT 2
- Support for negated Ignores Globs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from watcher.