Migrating to ROS 2.0

ros

#1

We are testing migrating to ROS 2.0 from 1.8.3 by following the directions here:

https://docs.realm.io/platform/self-hosted/manage/upgrading#migrating-from-ros-1-x

When I try to install the realm CLI, I get this:

npm WARN deprecated [email protected]: stop using this version
/usr/bin/ros -> /usr/lib/node_modules/realm-object-server/dist/cli.js

[email protected] install /usr/lib/node_modules/realm-object-server/node_modules/diskusage
node-gyp rebuild

gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir ‘/usr/lib/node_modules/realm-object-server/node_modules/diskusage/build’
gyp ERR! System Linux 4.17.8-x86_64-linode110
gyp ERR! command “/usr/bin/node” “/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “rebuild”
gyp ERR! cwd /usr/lib/node_modules/realm-object-server/node_modules/diskusage
gyp ERR! node -v v9.11.2
gyp ERR! node-gyp -v v3.7.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install 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! /root/.npm/_logs/2018-08-08T23_14_11_295Z-debug.log

I am installing as the root and have done every bit of giving permissions that I can come up with, but I can’t figure it out.

Any guidance?

–Kurt


#2

I don’t think we advise root installation. How are you trying to install? More details here