Solvedzenbot Cannot find module './build/Release/analytics.node'

Hi guys, I'm trying to run Zenbot on Ubuntu server 16.04 with node v7.10.1, npm 4.2.0 and python 2.7. After npm install and npm link, if I try to launch any zenbot commands I get this:

module.js:472
    throw err;
    ^

Error: Cannot find module './build/Release/analytics.node'
    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.<anonymous> (/home/leota/zenbot/node_modules/forex.analytics/index.js:1:79)
    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)

Has anyone experienced similar issues?

11 Answers

✔️Accepted Answer

Guys, please upgrade to nodejs 8, that should solve the build problem.
Please make sure to rm -rf node_modules && npm install to reinstall everything.

Please report back!

More Issues: