我如何安装okuna.io(openbook)源代码

时间:2019-12-09 02:29:27

标签: javascript node.js git vue.js github

okuna是开源网站 Github url of source code

我认为这是我尝试使用C:\Users\<username>\<folder>\okuna-www-master (2)\okuna-www-master>npm install npm WARN deprecated @xkeshi/vue-countdown@0.6.0: No longer maintainted, please use @chenfengyuan/vue-countdown npm WARN deprecated fsevents@1.2.9: One of your dependencies needs to upgrade to fsevents v2: 1) Proper nodejs v10+ support 2) No more fetching binaries from AWS, smaller package size npm ERR! path git npm ERR! code ENOENT npm ERR! errno ENOENT npm ERR! syscall spawn git npm ERR! enoent Error while executing: npm ERR! enoent undefined ls-remote -h -t https://github.com/mattboldt/typed.js.git npm ERR! enoent npm ERR! enoent npm ERR! enoent spawn git ENOENT npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\sushil kumar\AppData\Roaming\npm-cache\_logs\2019-12-09T02_53_12_785Z-debug.log C:\Users\<username>\<folder>\okuna-www-master (2)\okuna-www-master> 的vue项目,但是会引发错误。

错误是:

{{1}}

1 个答案:

答案 0 :(得分:1)

首先,确保Git for Windowsseen here一样位于您的PATH中。

最佳实践是从npm install会话执行git bash,以确保处于活跃状态的Git环境,即使不是直接在PATH中也是如此。