codeforequity-at / botium-bindings

The Selenium for Chatbots
http://www.botium.at
MIT License
108 stars 33 forks source link

I am unable to run any of the samples #101

Open ShamaUgale opened 5 years ago

ShamaUgale commented 5 years ago

I am doing npm install npm run test

for example for slack this is the error i get npm install npm WARN testmybot-sample-slack@1.0.0 No repository field.

npm ERR! path /Users/shamau/Downloads/testmybot-master/samples/slack/node_modules/.staging/testmybot-23018b42/node_modules/accepts npm ERR! code ENOENT npm ERR! errno -2 npm ERR! syscall rename npm ERR! enoent ENOENT: no such file or directory, rename '/Users/shamau/Downloads/testmybot-master/samples/slack/node_modules/.staging/testmybot-23018b42/node_modules/accepts' -> '/Users/shamau/Downloads/testmybot-master/samples/slack/node_modules/.staging/accepts-09f9c3ce' 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! /Users/shamau/.npm/_logs/2018-10-31T14_40_24_408Z-debug.log

codeforequity-at commented 5 years ago

Please see the Troubleshooting guide in the Botium Wiki: https://github.com/codeforequity-at/botium-core/wiki/Troubleshooting

ShamaUgale commented 5 years ago

i did try all the options. i am still not able to run any of the samples here.

all i am doing is "npm install", is there any per-requisites needed? any specific version on node?

codeforequity-at commented 5 years ago

Did you have a look on the Botium CLI ? https://github.com/codeforequity-at/botium-core/wiki/The-Botium-CLI

Maybe this is more suitable for you. You don't need extra Node installation, everything is precompiled (for Windows, Linux, Mac).

LacikIgor commented 5 years ago

@ShamaUgale did u manage to work around this?

Experiencing the exact same issues - mac, node 8.10.0

ShamaUgale commented 5 years ago

No. I could not fix the issue. I am still facing it. By any chance were you able to figure out any solution to it? If i find one will document it and share across the community for sure.

codeforequity-at commented 5 years ago

Did you try the Botium-CLI ? Should work on Mac as well.

LacikIgor commented 5 years ago

https://stackoverflow.com/questions/53519661/how-to-run-a-simple-botium-test-against-watson

This is how i ran botium and it worked

ShamaUgale commented 5 years ago

Thanks for the link @LacikIgor I will try this and update