Hello,
I have installed Cypress on Debian 9 (fresh install) with NPM.
When i launched cypress run, i get an error
/opt/cypress/node_modules/.bin# ./cypress run
ENOTDIR: not a directory, mkdir '/opt/cypress/node_modules/.bin/cypress/plugins'
Error: ENOTDIR: not a directory, mkdir '/opt/cypress/node_modules/.bin/cypress/plugins'
cypress run
Cypress package version: 3.1.3
Cypress binary version: 3.1.3
Hey @DcComicsansms Could you elaborate more on your project's file structure? What directory you were in when installing Cypress?
The node_modules are not typically within the cypress folder itself and usually within the project root.
Got the same error. But got it running with the following commands.
sudo rm -r *npm install cypress --save-dev./node_modules/cypress/bin/cypress runUnfortunately we have to close this issue as there is not enough information to reproduce the problem.
Please comment in this issue with a reproducible example and we will reopen the issue. 馃檹
I got the same issue. the mistake I was doing was running "./cypress open" command from the leaf folder. Resolution: run " ./node_modules/cypress/bin/cypress open" from project root folder.
I got the same issue. the mistake I was doing was running "./cypress open" command from the leaf folder. Resolution: run " ./node_modules/cypress/bin/cypress open" from project root folder.
Works for me!
I got the same issue. the mistake I was doing was running "./cypress open" command from the leaf folder. Resolution: run " ./node_modules/cypress/bin/cypress open" from project root folder.
It worked for me
Most helpful comment
I got the same issue. the mistake I was doing was running "./cypress open" command from the leaf folder. Resolution: run " ./node_modules/cypress/bin/cypress open" from project root folder.