安装 cypress 时遇到的错误: Cannot read properties of null (reading 'fsTop')

本贴最后更新于 769 天前,其中的信息可能已经渤澥桑田

安装cypress时遇到的错误: Cannot read properties of null (reading 'fsTop')

前提:

1.安装nodejs,配置环境变量

2.进入项目路径,执行 npm init -y 创建一个nodejs项目,会生成一个package.json文件

3.项目路径下,npm init -y

4.cnpm install cypress --save 时报错

image.png

5.切回使用npm install cypress --save,也报错

image.png

实在是没辙了。发帖求助。

回帖
请输入回帖内容 ...