Search code examples
node.jsgitnpmnpm-installbotkit

npm install is not working on botkit starter facebook project


I would like to develop a chatbot and then chose botkit as the tool to use. Following the steps to install it as described here,I first cloned the repository to my local disk D: this worked but the second step command (for Installing dependencies, including Botkit:)

cd botkit-starter-facebook
npm install

doesn't work giving me the error :screenshot of the error

I don't understand what that means so it is hard for me to solve it. I am using windows 7 x64bits pack 1 and node version 6.9.5 and npm version 3.10.10

Git was not in the path system environment variable and I add it but I am still getting the same error.


Solution

  • This is probably because git is not installed or not in the path. npm is trying to pull some dependency from github but unable to clone it as git is not available. Once you have git working, this should work.