Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running command ->>> npm install cypress --save-dev Failed at the [email protected] postinstall script. #8218

Closed
rohit-24 opened this issue Aug 7, 2020 · 4 comments
Labels
type: duplicate This issue or pull request already exists

Comments

@rohit-24
Copy link

rohit-24 commented Aug 7, 2020

Current behavior:

Error when running command ->>> npm install cypress --save-dev

npm ERR! path C:\Windows\system32\cmd.exe;BrowserServers\\chromedriver.exe
npm ERR! errno ENOENT
npm ERR! [email protected] postinstall: `node index.js --exec install`
npm ERR! spawn C:\Windows\system32\cmd.exe;BrowserServers\\chromedriver.exe ENOENT
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Admin\AppData\Roaming\npm-cache\_logs\2020-08-07T12_33_09_219Z-debug.log

Desired behavior:

Cypress should be installed

Test code to reproduce

Versions

Windows 7 - 64 bit

@jennifer-shehane
Copy link
Member

Can you post the DEBUG logs at C:\Users\Admin\AppData\Roaming\npm-cache\_logs\2020-08-07T12_33_09_219Z-debug.log?

Could you run the install in debug mode mode and print the entire set of logs here?

@jennifer-shehane jennifer-shehane added the stage: needs information Not enough info to reproduce the issue label Aug 11, 2020
@rohit-24
Copy link
Author

Can you post the DEBUG logs at C:\Users\Admin\AppData\Roaming\npm-cache\_logs\2020-08-07T12_33_09_219Z-debug.log?

Could you run the install in debug mode mode and print the entire set of logs here?

2020-08-11T06_45_13_632Z-debug.log

@rohit-24
Copy link
Author

Can you post the DEBUG logs at C:\Users\Admin\AppData\Roaming\npm-cache\_logs\2020-08-07T12_33_09_219Z-debug.log?
Could you run the install in debug mode mode and print the entire set of logs here?

2020-08-11T06_45_13_632Z-debug.log

I have attached the file , could not upload in comments , beceause of huge size of logs

@jennifer-shehane
Copy link
Member

Duplicate of #6807

5321 verbose stack Error: [email protected] postinstall: `node index.js --exec install`
5321 verbose stack spawn C:\Windows\system32\cmd.exe;BrowserServers\\chromedriver.exe ENOENT
5321 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19)
5321 verbose stack     at onErrorNT (internal/child_process.js:469:16)
5321 verbose stack     at processTicksAndRejections (internal/process/task_queues.js:84:21)

@jennifer-shehane jennifer-shehane added type: duplicate This issue or pull request already exists and removed stage: needs information Not enough info to reproduce the issue labels Aug 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants