Giter Club home page Giter Club logo

Comments (6)

devongovett avatar devongovett commented on May 18, 2024

Do you know what type of machine it's running in? Seems like no prebuilds are matching?

from watcher.

just-boris avatar just-boris commented on May 18, 2024

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.

tytremblay avatar tytremblay commented on May 18, 2024

@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.

jackmorrison12 avatar jackmorrison12 commented on May 18, 2024

@just-boris +1 here, I'm getting the exact same error, did you find a solution?

from watcher.

just-boris avatar just-boris commented on May 18, 2024

Switched to Vite

from watcher.

devongovett avatar devongovett commented on May 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.