Need help in resolving npm ERR! could not determine executable to run error

Hi Everyone,

After installing codeceptJS using command npx codeceptjs init i tried to run using npx codeceptjs run command. I am getting below error message can some one help me in resolving this issue.
npm ERR! could not determine executable to run.

Please note I am using Mac kindly let me know if we need to use different to run on Mac.

Thanks in advance!!