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

Updating to 4.8.0 version from 4.7.0 version delete Cypress folder #7749

Closed
Hiyeos opened this issue Jun 17, 2020 · 1 comment
Closed

Updating to 4.8.0 version from 4.7.0 version delete Cypress folder #7749

Hiyeos opened this issue Jun 17, 2020 · 1 comment
Labels
type: duplicate This issue or pull request already exists

Comments

@Hiyeos
Copy link

Hiyeos commented Jun 17, 2020

Current behavior:

When I try to update the version, the cypress folder has been deleted from node_modules folder

Before
After

Updating process:
Updating process

After:
Before

Then:
Then

Log:
log.txt

Desired behavior:

The update process should end without affecting any important component of cypress, now cypress does not work and the only way to solve this is copy and paste the cypress folder that I have on my back up

Test code to reproduce

Versions

Current cypress version: 4.7.0
Desired cypress versioin: 4.8.0
Windows 10 Enterprise
Node js V12.18.1

@jennifer-shehane
Copy link
Member

It looks like something failed during the postinstall of the Cypress package, so it never fully installed the npm module as shown in the warnings. If the install fails, then the module will not be present to run.

I'm not sure why the postinstall is failing in this case however. Looks to be a duplicate of #6807

@jennifer-shehane jennifer-shehane added the type: duplicate This issue or pull request already exists label Jun 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