Closed wayneparrott closed 4 years ago
Note how the appveyor ci build failed during the generate_messages.js script https://ci.appveyor.com/project/minggangw/rclnodejs/builds/33854406
I've seen similar error a few times (seg fault) when installing rclnodejs to a project with foxy debian package installation. I've not had time to investigate the cause yet.
Paste the error below:
Start JavaScript message generation...
Generation complete.
npm ERR! code ELIFECYCLE
npm ERR! errno 3221225477
npm ERR! rclnodejs@0.14.1 postinstall: `node scripts/generate_messages.js`
npm ERR! Exit status 3221225477
npm ERR!
npm ERR! Failed at the rclnodejs@0.14.1 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\appveyor\AppData\Roaming\npm-cache\_logs\2020-07-01T19_05_42_428Z-debug.log
Command exited with code -1073741819
I've seen this before too, but it seems that the log doesn't give much meaningful information about the cause. I only found this error on Windows (appveyor), not ubuntu (build ROS2 from scratch).
P.S. node scripts/generate_messages.js
generates JS messages from .dot
template based on the IDL parser.
Adds the ability to support multiple simultaneous rcl contexts, #668.
index.js
isShutdown(context=Context.defaultContext())
node.js
rate.js
init(): Promise<void>
method which creates internal private context and nodetest-init-shutdown.js
test-rate.js
node.d.ts
main.ts