You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm submitting a ...
[x] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project
Summary
I am getting the following error when trying to run the @graphql-codegen/cli:
✔ Parse Configuration
⚠ Generate outputs
❯ Generate to src/api/graphql/index.ts
✔ Load GraphQL schemas
✔ Load GraphQL documents
✖
Unable to find template plugin matching 'plugin-typescript-swr'
Install one of the following packages:
- @graphql-codegen/plugin-typescript-swr
- @graphql-codegen/plugin-typescript-swr-template
- @graphql-codegen/plugin-typescript-swr-plugin
- graphql-codegen-plugin-typescript-swr
- graphql-codegen-plugin-typescript-swr-template
- graphql-codegen-plugin-typescript-swr-plugin
- codegen-plugin-typescript-swr
- codegen-plugin-typescript-swr-template
- plugin-typescript-swr
Other information
When checking the error being thrown inside the cli code, I see this message:
✔ Parse Configuration
⚠ Generate outputs
❯ Generate to src/api/graphql/index.ts
✔ Load GraphQL schemas
✔ Load GraphQL documents
✖ Cannot find module '[my project dir]/node_modules/graphql-codegen-plugin-typescript-swr/build/main/index.js'. Please verify that the package.json has a valid "main" entry
Checking the package.json for this plugin shows that main is build/main/index.js. When I install 0.8.3, everything works and I can see that the build dir is in included in the package:
In 0.8.4, this build directory is not included when installing the package:
Please let me know if I can provide any other info to help debug this issue!
The text was updated successfully, but these errors were encountered:
[x] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project
Summary
I am getting the following error when trying to run the
@graphql-codegen/cli
:Other information
When checking the error being thrown inside the cli code, I see this message:
Checking the package.json for this plugin shows that
main
isbuild/main/index.js
. When I install0.8.3
, everything works and I can see that the build dir is in included in the package:In
0.8.4
, thisbuild
directory is not included when installing the package:Please let me know if I can provide any other info to help debug this issue!
The text was updated successfully, but these errors were encountered: