Open DanielKucal opened 6 months ago
Describe the bug
% pnpm i @nx-bun/nx --include=dev Packages: +7 -3 +++++++--- Progress: resolved 1522, reused 1442, downloaded 0, added 1, done node_modules/.pnpm/inotify@1.4.6/node_modules/inotify: Running install script, failed in 4s .../inotify@1.4.6/node_modules/inotify install$ node-gyp rebuild │ gyp info it worked if it ends with ok │ gyp info using node-gyp@10.0.1 │ gyp info using node@20.10.0 | darwin | arm64 │ gyp info find Python using Python version 3.11.5 found at "/usr/local/opt/python@3.11/bin/python3.11" │ gyp http GET https://nodejs.org/download/release/v20.10.0/node-v20.10.0-headers.tar.gz │ gyp http 200 https://nodejs.org/download/release/v20.10.0/node-v20.10.0-headers.tar.gz │ gyp http GET https://nodejs.org/download/release/v20.10.0/SHASUMS256.txt │ gyp http 200 https://nodejs.org/download/release/v20.10.0/SHASUMS256.txt │ gyp info spawn /usr/local/opt/python@3.11/bin/python3.11 │ gyp info spawn args [ │ gyp info spawn args '/nx-monorepo/node_modules/node-gyp/gyp/gyp_main.py', │ gyp info spawn args 'binding.gyp', │ gyp info spawn args '-f', │ gyp info spawn args 'make', │ gyp info spawn args '-I', │ gyp info spawn args '/nx-monorepo/node_modules/.pnpm/inotify@1.4.6/node_modules/inotify/build/config.gypi', │ gyp info spawn args '-I', │ gyp info spawn args '/nx-monorepo/node_modules/node-gyp/addon.gypi', │ gyp info spawn args '-I', │ gyp info spawn args '/Users/danielkucal/Library/Caches/node-gyp/20.10.0/include/node/common.gypi', │ gyp info spawn args '-Dlibrary=shared_library', │ gyp info spawn args '-Dvisibility=default', │ gyp info spawn args '-Dnode_root_dir=/Users/danielkucal/Library/Caches/node-gyp/20.10.0', │ gyp info spawn args '-Dnode_gyp_dir=/nx-monorepo/node_modules/node-gyp', │ gyp info spawn args '-Dnode_lib_file=/Users/danielkucal/Library/Caches/node-gyp/20.10.0/<(target_arch)/node.lib', │ gyp info spawn args '-Dmodule_root_dir=/nx-monorepo/node_modules/.pnpm/inotify@1.4.6/node_modules/inotify', │ gyp info spawn args '-Dnode_engine=v8', │ gyp info spawn args '--depth=.', │ gyp info spawn args '--no-parallel', │ gyp info spawn args '--generator-output', │ gyp info spawn args 'build', │ gyp info spawn args '-Goutput_dir=.' │ gyp info spawn args ] │ gyp info spawn make │ gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] │ CXX(target) Release/obj.target/inotify/src/bindings.o │ In file included from ../src/bindings.cc:2: │ In file included from ../src/bindings.h:4: │ ../src/node_inotify.h:8:10: fatal error: 'sys/inotify.h' file not found │ #include <sys/inotify.h> │ ^~~~~~~~~~~~~~~ │ 1 error generated. │ make: *** [Release/obj.target/inotify/src/bindings.o] Error 1 │ gyp ERR! build error │ gyp ERR! stack Error: `make` failed with exit code: 2 │ gyp ERR! stack at ChildProcess.<anonymous> (/nx-monorepo/node_modules/node-gyp/lib/build.js:209:23) │ gyp ERR! System Darwin 22.6.0 │ gyp ERR! command "/usr/local/bin/node" "/nx-monorepo/node_modules/.bin/node-gyp" "rebuild" │ gyp ERR! cwd /nx-monorepo/node_modules/.pnpm/inotify@1.4.6/node_modules/inotify │ gyp ERR! node -v v20.10.0 │ gyp ERR! node-gyp -v v10.0.1 │ gyp ERR! not ok └─ Failed in 4s at /nx-monorepo/node_modules/.pnpm/inotify@1.4.6/node_modules/inotify ELIFECYCLE Command failed with exit code 1.
To Reproduce Steps to reproduce the behavior: pnpm i @nx-bun/nx --include=dev
pnpm i @nx-bun/nx --include=dev
Expected behavior I think it should work, it does with npm.
Additional context Tried also with node v18.17
Describe the bug
To Reproduce Steps to reproduce the behavior:
pnpm i @nx-bun/nx --include=dev
Expected behavior I think it should work, it does with npm.
Additional context Tried also with node v18.17