I did that and got this:
x@penguin:~/Coding Projects/Web Development/Feature_Server_Model_Test_Quote_Keeper$ ls -l bin
total 12
-rw-r-r 1 x x 149 Nov 25 19:35 mocha-test
-rw-r-r 1 x x 36 Nov 25 19:35 wdio-test
-rw-r-r 1 x x 1874 Nov 25 19:35 www
I cd to the folder and typed:
chmod +rwx mocha-test
chmod +rwx wdio-test
chmod +rwx www
and I got:
x@penguin:~/Coding Projects/Web Development/Feature_Server_Model_Test_Quote_Keeper$ ls -l bin
total 12
-rwxr-xr-x 1 x x 149 Nov 25 19:35 mocha-test
-rwxr-xr-x 1 x x 36 Nov 25 19:35 wdio-test
-rwxr-xr-x 1 x x 1874 Nov 25 19:35 www
It’s working and started the test! But NOW I’m getting this error:
1) Quote "before each" hook: connectAndDrop for "#quote is a string":
MongoNetworkError: failed to connect to server [localhost:27017] on first connect [Error: connect ECONNREFUSED 127.0.0.1:27017
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16) {
name: 'MongoNetworkError'
}]
It must be related to connecting to the mongo, but I don’t know how to overcome this?