Openhab-cloud

Following: https://github.com/openhab/openhab-cloud

2017-03-08T21:10:07.740Z - error: uncaughtException: Cannot find module ‘…/build/Debug/addon’ date=Wed Mar 08 2017 16:10:07 GMT-0500 (EST), pid=11760, uid=0, gid=0, cwd=/opt/openhab-cloud, execPath=/usr/local/bin/node, version=v7.6.0, argv=[/usr/local/bin/node, /opt/openhab-cloud/app.js], rss=18550784, heapTotal=8830976, heapUsed=4727360, external=54005, loadavg=[3.3369140625, 2.35302734375, 1.95263671875], uptime=716570, trace=[column=15, file=module.js, function=Function.Module._resolveFilename, line=470, method=Module._resolveFilename, native=false, column=25, file=module.js, function=Function.Module._load, line=418, method=Module._load, native=false, column=17, file=module.js, function=Module.require, line=498, method=require, native=false, column=19, file=internal/module.js, function=require, line=20, method=null, native=false, column=15, file=/opt/openhab-cloud/node_modules/heapdump/lib/main.js, function=, line=18, method=null, native=false, column=32, file=module.js, function=Module._compile, line=571, method=_compile, native=false, column=10, file=module.js, function=Object.Module._extensions…js, line=580, method=Module._extensions…js, native=false, column=32, file=module.js, function=Module.load, line=488, method=load, native=false, column=12, file=module.js, function=tryModuleLoad, line=447, method=null, native=false, column=3, file=module.js, function=Function.Module._load, line=439, method=Module._load, native=false], stack=[Error: Cannot find module ‘…/build/Debug/addon’, at Function.Module._resolveFilename (module.js:470:15), at Function.Module._load (module.js:418:25), at Module.require (module.js:498:17), at require (internal/module.js:20:19), at Object. (/opt/openhab-cloud/node_modules/heapdump/lib/main.js:18:15), at Module._compile (module.js:571:32), at Object.Module._extensions…js (module.js:580:10), at Module.load (module.js:488:32), at tryModuleLoad (module.js:447:12), at Function.Module._load (module.js:439:3)]

Not directly related to your error message, but maybe an option to try the new tutorial from @ryandetzel :

1 Like

I was trying to do this on CentOS 6 and it turns out gcc is too old, I retried on CentOS 7 and it works just fine.

1 Like