NPM tests not workindg

Hey there! I’m starting this course
And when I type npm test it returns this

> calculator-js@0.0.0 test /home/ccuser/workspace/tdd-feature-test-pass-feature-test-i
> PORT=8001 bin/wdio-test

sh: 1: bin/wdio-test: Permission denied
npm ERR! Test failed.  See above for more details.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

If I run npm install and then npm test again:

I’m not particularly sure if I’m doing something wrong or not.
Thanks for your help!


are there no existing topics on this matter, like I don’t know, this one:

Permission Denied on NPM Test


Permission Denied, can't run tests

and a lot more. Did you check/search for existing topics before creating a new one?


Oh no! I did not. Sorry.

1 Like

I’ve used this command for the solution, it gives execution permission to everybody:

chmod a+x bin/wdio-test

Yeah, that works perfectly. Thank u very much!

omg i’m going through exactly the same problem :sob: