sheksushant / bot-dialogflow

A BotUI web app connected to DialogFlow
51 stars 49 forks source link

Issue while executing the chatbotui tutorials #7

Closed shrinidhi-ha closed 6 years ago

shrinidhi-ha commented 6 years ago

Following this link: https://chatbotslife.com/custom-api-ai-chatbot-using-botui-58d673155c7d

Issues are:

  1. There are many js files which are created in separate folders but where does that folders exist or does this folder need to be created manually?

  2. why does express module after following the instruction not able recognize the command express --view=ejs my_cool_bot view is not executed getting this error C:\Users\shrinidhi_ha\Documents\chatbotui>express --view=ejs my_cool_bot view 'express' is not recognized as an internal or external command, operable program or batch file.

  3. why node bin/www throw this error module.js:545 throw err; ^

Error: Cannot find module 'C:\Users\shrinidhi_ha\Documents\chatbotui\bin\www' at Function.Module._resolveFilename (module.js:543:15) at Function.Module._load (module.js:470:25) at Function.Module.runMain (module.js:690:10) at startup (bootstrap_node.js:194:16) at bootstrap_node.js:666:3

  1. Go to public/javascripts and create a new file and name it convo.js what does this mean? where should we look out for public/javascripts folder?

directory structure in C Drive Documents of my system image please help me out in resolving the issue as i am a new comer to botui development. I am from a background java, javascript development but unable to trace out this issue. enclosing the js files and package.json file created for chatbotui program.

chatbotui.zip

sudhir512kj commented 6 years ago

@shrinidhi-ha Here are some solutions to your problems:

  1. There is a folder Javacsripts in public folder, There you can put your convo.js file.
  2. You have not installed express-generator.
  3. There is a folder seeing in your screenshot named public.