superscriptjs / superscript

A dialogue engine for creating chat bots
http://superscriptjs.com
MIT License
1.65k stars 209 forks source link

bot-init: command not found #378

Open jenniferzhu opened 6 years ago

jenniferzhu commented 6 years ago

bot-init: command not found

Even with `

$npm -g install superscript

` successfully.

jloveric commented 6 years ago

If you create a directory and run

npm init

then run superscript in that directory without -g

npm install superscript

you can run bot init by executing

./node_modules/.bin/bot-init myBotName --clients telnet,slack,express

basically following the instructions in https://github.com/superscriptjs/superscript/wiki/Installing but for a local installation. You may have tried to install globally without the correct permissions (sudo).