问题描述:
This is usually caused by a missing library or dependency.
The error below should indicate which dependency is missing.
解决方法:
1.如上图,找到cypress存放缓存的文件夹,直接删除。
2.直接安装cypress:npm install cypress (也可以用cnpm下载,前提是已经下载cnpm)
3.验证是否成功:cypress open