遵循说明安装后(根据我可以告诉的)尝试安装软件时,我会遇到此错误:
C:zenbotzenbot>npm install
enter code herenpm ERR! path C:zenbotzenbotnode_modulesforex.analytics
npm ERR! code EISGIT
npm ERR! git C:zenbotzenbotnode_modulesforex.analytics: Appears to be a git
repo or submodule.
npm ERR! git C:zenbotzenbotnode_modulesforex.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:UsersSporkAppDataRoamingnpm-cache_logs2017-12-29T22_35_31_
500Z-debug.log
之后,完成安装后尝试运行软件时,我会遇到此错误:
C:zenbotzenbot>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:zenbotzenbotnode_modulesforex.analyticsindex.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)
由于包含 forex.analytics
,在裸露的窗口上运行。
推荐的路径是使用Windows功能使用Bash和Linux子系统选项,或在Docker容器中运行。
请参阅:github的Windows用户更新文档。