简体   繁体   中英

Cypress Installing Yarn Fails

I tried installing yarn via cypress as the directions specify and am getting the following error.

I also notice not all the usual cypress folders were created.

错误 仅生成 cypress 文件的子集 What am I doing wrong here?

Given

  1. yarn add cypress --dev
  2. yarn run cypress open

Actual

  • Error

Expect

  • Cypress to run and have some basic examples

I hope you were able to fix your issue however for the other people still looking for a fix.

Try this: If you add "nodeVersion": "bundled" in the cypress.json then it temporarily fixes the issue.

Reference: https://github.com/cypress-io/cypress/issues/19320

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM