【发布时间】:2022-07-30 11:55:37
【问题描述】:
我正在尝试为我的应用程序使用 GraphQL Codegen 向导。我按照该站点的安装说明进行操作:https://www.graphql-code-generator.com/docs/getting-started/installation
由于冲突,所有依赖项都通过带有 --legacy-peer-deps 的 npm 成功安装。当运行下面这个命令的时候,脚本意外结束了。我没有机会回答这个问题。
npx graphql-codegen init
我做错了什么?
系统详情:
- 操作系统 Windows 10
- 节点 16.15.1
- npm 8.11.0
- 纱线 1.22.19
- Angular CLI 14.0.1
- GraphQL ^16
【问题讨论】:
标签: graphql-codegen