I'm trying to test my NodeJS app using Mocha and Chai, however I'm getting this error :
root@xxxx-Vostro-1540 : sraperproject # make test
/bin/sh: 1: ./node_modules/.bin/mocha: Permission denied
make: *** [test] Error 126
root@xxxx-Vostro-1540 : sraperproject#
How am I supposed to resolve this ? I've already done this, but in vain :
root@xxxx-Vostro-1540 : sraperproject # ls -l /bin/sh
lrwxrwxrwx 1 root root 4 oct. 23 20:37 /bin/sh -> dash
root@xxxx-Vostro-1540 : sraperproject # file /bin/sh
/bin/sh: symbolic link to `dash'
Any thoughts ?