Comments (6)
Do you know what type of machine it's running in? Seems like no prebuilds are matching?
from watcher.
When I run install with --loglevel=verbose
, I get this error:
Error: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /path/to/project/node_modules/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1057:18)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at load (/path/to/project/node_modules/node-gyp-build/index.js:21:10)
at Object.<anonymous> (/path/to/project/node_modules/node-gyp-build/build-test.js:19:19)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
Googling for this error message shows that our libc is outdated. From our side the libc version is not something we control and we cannot update this (sadly).
Is there a chance that Parcel will make this native dependency optional (similar to how fsevents work)? As we use this environment only for builds, we do not need watching functionality, only the bundling.
from watcher.
@just-boris were you able to resolve / work around this issue? I think I'm experiencing something similar:
npm ERR! path /builds/realtime-robotics/rapidplan/rapidplan_2.0.4-182-g64969e95a/build/rtr_web_tools/build/node_modules/@parcel/watcher
npm ERR! command failed
npm ERR! command sh -c node-gyp-build
npm ERR! make[8]: Entering directory '/builds/realtime-robotics/rapidplan/rapidplan_2.0.4-182-g64969e95a/build/rtr_web_tools/build/node_modules/@parcel/watcher'
npm ERR! CC(target) Release/obj.target/nothing/../../node-addon-api/nothing.o
npm ERR! AR(target) Release/obj.target/../../node-addon-api/nothing.a
npm ERR! COPY Release/nothing.a
npm ERR! CXX(target) Release/obj.target/watcher/src/binding.o
npm ERR! CXX(target) Release/obj.target/watcher/src/Watcher.o
npm ERR! CXX(target) Release/obj.target/watcher/src/Backend.o
npm ERR! CXX(target) Release/obj.target/watcher/src/DirTree.o
npm ERR! CXX(target) Release/obj.target/watcher/src/watchman/BSER.o
npm ERR! CXX(target) Release/obj.target/watcher/src/watchman/WatchmanBackend.o
npm ERR! CXX(target) Release/obj.target/watcher/src/shared/BruteForceBackend.o
npm ERR! CXX(target) Release/obj.target/watcher/src/linux/InotifyBackend.o
npm ERR! CXX(target) Release/obj.target/watcher/src/unix/legacy.o
npm ERR! make[8]: Leaving directory '/builds/realtime-robotics/rapidplan/rapidplan_2.0.4-182-g64969e95a/build/rtr_web_tools/build/node_modules/@parcel/watcher/build'
npm ERR! make[8]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
npm ERR! ../src/linux/InotifyBackend.cc:60:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
npm ERR! write(mPipe[1], "X", 1);
npm ERR! ^~~~~ ~~~~~~~~~~~~~~~~
npm ERR! 1 warning generated.```
from watcher.
@just-boris +1 here, I'm getting the exact same error, did you find a solution?
from watcher.
Switched to Vite
from watcher.
Please try v2.2.0 which now includes prebuilt binaries for more platforms. That way you shouldn't need to compile it yourself.
from watcher.
Related Issues (20)
- 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
- v2.2.0 node-gyp rebuild error, incorrect scripts in npm registry HOT 11
- 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
- Support for negated Ignores Globs
- node-addon-api should be a dev dependency? HOT 1
- With Watchman installed on Windows subscribe hangs
- Segmentation fault using wildcard in ignore option on Node.js v20.12.x (LTS) HOT 6
- FSEvents behaves differently compared to inotify with glob excludes HOT 1
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.