按照说明安装它(据我所知)我在尝试安装软件时收到此错误:
C:\zenbot\zenbot>npm install
enter code herenpm ERR! path C:\zenbot\zenbot\node_modules\forex.analytics
npm ERR! code EISGIT
npm ERR! git C:\zenbot\zenbot\node_modules\forex.analytics: Appears to be a git
repo or submodule.
npm ERR! git C:\zenbot\zenbot\node_modules\forex.analytics
npm ERR! git Refusing to remove it. Update manually,
npm ERR! git or move it out of the way first.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Spork\AppData\Roaming\npm-cache\_logs\2017-12-29T22_35_31_
500Z-debug.log
之后,在完成安装后尝试运行软件时出现此错误:
C:\zenbot\zenbot>node zenbot.js
module.js:538
throw err;
^
Error: Cannot find module './build/Release/analytics.node'
at Function.Module._resolveFilename (module.js:536:15)
at Function.Module._load (module.js:466:25)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18)
at Object.<anonymous>
(C:\zenbot\zenbot\node_modules\forex.analytics\index.js:1:79)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)