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

yarn audit fails after updating @cypress/webpack-dev-server to v2 #22644

Closed
chrisrhymes opened this issue Jul 1, 2022 · 1 comment
Closed

Comments

@chrisrhymes
Copy link

Current behavior

When I upgrade @cypress/webpack-dev-server to "^2" (which installs v2.0.0) I get the following error when running yarn audit.

~ yarn audit
yarn audit v1.22.17
error An unexpected error occurred: "Unexpected audit response (Missing Metadata): false".
info If you think this is a bug, please open a bug report with the information provided in "/my-project/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/audit for documentation about this command.

If I rollback to the previous version constraint "@cypress/webpack-dev-server": "^1.8.0", then yarn audit works as expected.

Desired behavior

yarn audit should work as expected

Test code to reproduce

Here are the Cypress dependencies in my package.json to reproduce the issue.

"devDependencies": {
    "@cypress/react": "^6",
    "@cypress/webpack-dev-server": "^2",
    "cypress": "^10",
    "html-webpack-plugin": "5",
    "start-server-and-test": "^1.14.0",
    "ts-loader": "^9.2.6",
    "webpack": "5",
    "webpack-dev-server": "^4.6.0"
  }

Yarn version:
1.22.17

Node version:
14.18.2

Cypress Version

10

Other

No response

@emilyrohrbough
Copy link
Member

@chrisrhymes I was unable to reproduce this issue when installing @cypress/webpack-dev-server in cypress-test-tiny using yarn v1.22.17.

This yarn issue was logged a while back for v1.22.10. Please check your yarn version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants