-
Notifications
You must be signed in to change notification settings - Fork 2k
Error: Cannot find module './build/Release/analytics.node' #643
Comments
Hey. At me something similar. server_1 | Error: Cannot find module './conf-sample' node -v v4.2.6 |
Duplicated: see #432 (already solved) |
node -v v8.7.0 |
Ok, I too installed the newer node.js, same versions that zemelax just listed. Now when I do "npm install", I get the following: xxxx@Ubuntu-16:~/zenbot/zenbot$ sudo npm install npm ERR! A complete log of this run can be found in: Tried to Google all around about that, did not get any hits, can someone help? |
I tried with "yarn" (do a npm install yarn before) instead of "npm install" and it finally worked. Also, had to remove the previous zenbot instance. But yes, the installation could be improved (avoiding sudo npm would be great). |
building talib functions... npm ERR! A complete log of this run can be found in: got this too node version 8.7, npm version 5.5.1 running VM Ubuntu 16.0.4 I did everything in #432 |
Ubuntu 16.04 Tested
|
Sniper7kills, I don't know why, but when I copy-pasted your lines on my Ubuntu, it just started working! \o/ I surely did try all those command previously also, but it might be that used "sudo" in front of curl-, git- and npm install- commands also..? I'm not sure though, and don't know if would matter anyway? Thank you, you´re the best! :=) |
@jasurakk Glad to hear, it was probably the lack of the build-essentials being installed; just an fyi don't use sudo if you don't need to (I.E. Curl, Git, npm install), it runs commands as root which can cause you major issues if your not careful. If this solved your issue you might want to close it ;) |
I just installed Zenbot on my new Ubuntu 16.04 VM, but what ever I do, I just get errors such as:
xxxx@Ubuntu-16:~/zenbot$ zenbot list-selectors
module.js:471
throw err;
^
Error: Cannot find module './build/Release/analytics.node'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (/home/xxxx/zenbot/node_modules/forex.analytics/index.js:1:79)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
xxxx@Ubuntu-16:~/zenbot$ zenbot sim --help
module.js:471
throw err;
^
Error: Cannot find module './build/Release/analytics.node'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (/home/xxxx/zenbot/node_modules/forex.analytics/index.js:1:79)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
What's wrong with this?? :-o
The text was updated successfully, but these errors were encountered: