Custom plugin script can't be found
See original GitHub issueDescribe the bug I can’t use a custom plugin; simply followed the instructions here: https://graphql-code-generator.com/docs/custom-codegen/write-your-plugin
See repo in “To Reproduce”
[11:40:07] Parse configuration [started]
[11:40:07] Parse configuration [completed]
[11:40:07] Load schema [started]
[11:40:07] Load schema [completed]
[11:40:07] Generate outputs [started]
[11:40:07] Generate ./src/types.d.ts [started]
[11:40:07] Generate ./src/test-plugin-types.d.ts [started]
[11:40:07] Generate [started]
[11:40:07] Generate [started]
[11:40:07] Generate [failed]
[11:40:07] → Unable to find template plugin matching test-plugin.js
[11:40:08] Generate ./src/test-plugin-types.d.ts [failed]
[11:40:08] → Unable to find template plugin matching test-plugin.js
Something went wrong
[11:40:08] Generate [completed]
[11:40:08] Generate ./src/types.d.ts [completed]
[11:40:08] Generate outputs [failed]
To Reproduce Could reproduce it here: https://github.com/kroeder/gql-gen-custom-plugin-issue-repo Anything I got totally wrong?
It would help if the error message would show a full path instead just the filename
Expected behavior Script in my plugin would be executed
Environment:
- OS: Windows 10
- Codegen: ^0.14.0
- Node: ^10.12.10
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Cannot apply an external plugin in a gradle init script (github ...
I get an error like so: Failed to notify action. > Plugin with id 'artifactory' not found. But when I include the contents...
Read more >Can't add script component... - Unity Forum
Because the script class cannot be found. Make sure that there are no compile errors and that the file name and class name...
Read more >Using custom gradle plugin, cant find class? - Old Forum
I am trying to write a custom gradle plugin that provides ssh/scp functionality by wrapping the AntBuilder.sshexec and AntBuilder.scp in gradle tasks since ......
Read more >Writing Custom Gradle Plugins - Baeldung
A quick and practical example of writing a custom Gradle plugin. ... however, our plugin won't be visible outside of the build script....
Read more >Failing to Load Custom Plugins in Nessus Security Center 5.4
Why the Security Center cannot see/load my script but will copy it to the CustomNasl directory? Why I cannot find the new Plugin?...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@kroeder We recently changed the name of the enums values to math all other naming conventions.
#915 should fix it