在 Windows 中安装 @wdio/cucumber-framework 时出现长错误

问题描述

我正在尝试安装@wdio/cucumber-framework,但出现了很长的错误。我试图安装 windows-build-tools。我还为 Visual Studio 2019 安装了 Visual C++ 构建工具。

这是我的输出

character varying

我做错了什么? Visual Studio 有什么东西吗?是否不支持 Node 版本 14.15.4? node-gyp有什么东西吗?

我应该怎么做才能通过?

解决方法

全局安装 node-gyp 并按照记录的 windows 步骤操作

https://www.npmjs.com/package/node-gyp