osrf / gazebojs

3 stars 3 forks source link

Failure to install gazebojs on Mac 10.11.6 under either Node 4.8.4 or Node 8.4.0 #23

Open osrf-migration opened 6 years ago

osrf-migration commented 6 years ago

Original report (archived issue) by Khalid Adil (Bitbucket: Khalid Adil).


I have gazebo9 and other dependencies installed properly.

When I try to install gazebojs in a new node project after running npm init by doing: npm install gazebojs --save

I end up with these errors: https://cl.ly/3Z2m3q343x2Z/gazebojs_errors.png

When running node-gyp rebuild in the Node REPL, I see these errors: https://cl.ly/pbWt/Image%202018-02-16%20at%205.53.01%20PM.png

Any idea what I may be doing wrong?

osrf-migration commented 6 years ago

Original comment by Mohamd Ayman (Bitbucket: Mohamd Ayman).


I think the problem is the Gazebo version that you are using.

osrf-migration commented 6 years ago

Original comment by Khalid Adil (Bitbucket: Khalid Adil).


I'm using Gazebo version 9. What is the compatible version?

osrf-migration commented 6 years ago

Original comment by Mohamd Ayman (Bitbucket: Mohamd Ayman).


Sorry, according to the documentation, you would need to downgrade to gazebo7

Node 0.10 is compatible with Gazebo 4 to 6, while 4.2.x is required for Gazebo 7 and up. >Please refer to the installation tutorial http://gazebosim.org/tutorials?>tut=gazebojs_install&cat=gazebojs for more details on how to change your version of >Node.