We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description
And I have tried node v18、19...
Steps To Reproduce
mamba activate ros_env
Expected Behavior Install rclnodejs-cli success!
Actual Behavior
mamba install ros-humble-rcutils
rcutils/logging_macros.h
/opt/homebrew/Caskroom/miniforge/base/envs/ros_env/include/rcutils/rcutils/logging_macros.h
$AMENT_PREFIX_PATH
/opt/homebrew/Caskroom/miniforge/base/envs/ros_env
$CXXFLAGS
-ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /opt/homebrew/Caskroom/miniforge/base/envs/ros_env/include
$CPPFLAGS
-D_FORTIFY_SOURCE=2 -isystem /opt/homebrew/Caskroom/miniforge/base/envs/ros_env/include
Error Log:
npm error code 1 npm error path /Users/aweiu/.nvm/versions/node/v18.20.4/lib/node_modules/rclnodejs-cli/node_modules/rclnodejs npm error command failed npm error command sh -c node-gyp rebuild npm error make: Entering directory '/Users/aweiu/.nvm/versions/node/v18.20.4/lib/node_modules/rclnodejs-cli/node_modules/rclnodejs/build' npm error CXX(target) Release/obj.target/rclnodejs/src/addon.o npm error make: Leaving directory '/Users/aweiu/.nvm/versions/node/v18.20.4/lib/node_modules/rclnodejs-cli/node_modules/rclnodejs/build' npm error gyp info it worked if it ends with ok npm error gyp info using [email protected] npm error gyp info using [email protected] | darwin | arm64 npm error gyp info find Python using Python version 3.11.8 found at "/opt/homebrew/Caskroom/miniforge/base/envs/ros_env/bin/python3" npm error gyp info spawn /opt/homebrew/Caskroom/miniforge/base/envs/ros_env/bin/python3 npm error gyp info spawn args [ npm error gyp info spawn args '/Users/aweiu/.nvm/versions/node/v18.20.4/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py', npm error gyp info spawn args 'binding.gyp', npm error gyp info spawn args '-f', npm error gyp info spawn args 'make', npm error gyp info spawn args '-I', npm error gyp info spawn args '/Users/aweiu/.nvm/versions/node/v18.20.4/lib/node_modules/rclnodejs-cli/node_modules/rclnodejs/build/config.gypi', npm error gyp info spawn args '-I', npm error gyp info spawn args '/Users/aweiu/.nvm/versions/node/v18.20.4/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', npm error gyp info spawn args '-I', npm error gyp info spawn args '/Users/aweiu/Library/Caches/node-gyp/18.20.4/include/node/common.gypi', npm error gyp info spawn args '-Dlibrary=shared_library', npm error gyp info spawn args '-Dvisibility=default', npm error gyp info spawn args '-Dnode_root_dir=/Users/aweiu/Library/Caches/node-gyp/18.20.4', npm error gyp info spawn args '-Dnode_gyp_dir=/Users/aweiu/.nvm/versions/node/v18.20.4/lib/node_modules/npm/node_modules/node-gyp', npm error gyp info spawn args '-Dnode_lib_file=/Users/aweiu/Library/Caches/node-gyp/18.20.4/<(target_arch)/node.lib', npm error gyp info spawn args '-Dmodule_root_dir=/Users/aweiu/.nvm/versions/node/v18.20.4/lib/node_modules/rclnodejs-cli/node_modules/rclnodejs', npm error gyp info spawn args '-Dnode_engine=v8', npm error gyp info spawn args '--depth=.', npm error gyp info spawn args '--no-parallel', npm error gyp info spawn args '--generator-output', npm error gyp info spawn args 'build', npm error gyp info spawn args '-Goutput_dir=.' npm error gyp info spawn args ] npm error gyp info spawn make npm error gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] npm error In file included from ../src/addon.cpp:17: npm error ../src/macros.hpp:18:10: fatal error: 'rcutils/logging_macros.h' file not found npm error 18 | #include "rcutils/logging_macros.h" npm error | ^~~~~~~~~~~~~~~~~~~~~~~~~~ npm error 1 error generated. npm error make: *** [rclnodejs.target.mk:148: Release/obj.target/rclnodejs/src/addon.o] Error 1 npm error gyp ERR! build error npm error gyp ERR! stack Error: `make` failed with exit code: 2 npm error gyp ERR! stack at ChildProcess.<anonymous> (/Users/aweiu/.nvm/versions/node/v18.20.4/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:209:23) npm error gyp ERR! System Darwin 23.5.0 npm error gyp ERR! command "/Users/aweiu/.nvm/versions/node/v18.20.4/bin/node" "/Users/aweiu/.nvm/versions/node/v18.20.4/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" npm error gyp ERR! cwd /Users/aweiu/.nvm/versions/node/v18.20.4/lib/node_modules/rclnodejs-cli/node_modules/rclnodejs npm error gyp ERR! node -v v18.20.4 npm error gyp ERR! node-gyp -v v10.1.0 npm error gyp ERR! not ok
The text was updated successfully, but these errors were encountered:
Hi @wayneparrott could you please take a look at this issue?🙏
Sorry, something went wrong.
No branches or pull requests
Description
Steps To Reproduce
mamba activate ros_env
Expected Behavior
Install rclnodejs-cli success!
Actual Behavior
mamba install ros-humble-rcutils
rcutils/logging_macros.h
file in/opt/homebrew/Caskroom/miniforge/base/envs/ros_env/include/rcutils/rcutils/logging_macros.h
$AMENT_PREFIX_PATH
:/opt/homebrew/Caskroom/miniforge/base/envs/ros_env
$CXXFLAGS
:-ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /opt/homebrew/Caskroom/miniforge/base/envs/ros_env/include
$CPPFLAGS
:-D_FORTIFY_SOURCE=2 -isystem /opt/homebrew/Caskroom/miniforge/base/envs/ros_env/include
Error Log:
The text was updated successfully, but these errors were encountered: