graphql-fetch icon indicating copy to clipboard operation
graphql-fetch copied to clipboard

generator is not working with latest dart version (2.0.0-dev.58.0)

Open gigo1980 opened this issue 6 years ago • 0 comments

Hi i try to run the generator with `Dart VM version: 2.0.0-dev.58.0 (Wed May 23 20:44:51 2018 +0200) on "macos_x64"``

but it throws me an error. If i try it with an local graphql (json) file i get the following error.

[INFO] BuildDefinition: Reading cached asset graph completed, took 52ms
[INFO] BuildDefinition: Checking for updates since last build completed, took 877ms
[WARNING] BuildDefinition: Invalidating asset graph due to build script update
[INFO] BuildDefinition: Building new asset graph completed, took 473ms
[INFO] BuildDefinition: Checking for unexpected pre-existing outputs. completed, took 1ms
[INFO] Build: Running build completed, took 5ms
[INFO] Build: Caching finalized dependency graph completed, took 34ms
[INFO] Build: Succeeded after 49ms with 0 outputs

if i try an only graphql resource like https://developer.deutschebahn.com/free1bahnql/graphql i get this error

[INFO] BuildDefinition: Reading cached asset graph completed, took 48ms
[INFO] BuildDefinition: Checking for updates since last build completed, took 818ms
[INFO] Build: Running build completed, took 9ms
[INFO] Build: Caching finalized dependency graph completed, took 47ms
[INFO] Build: Succeeded after 74ms with 0 outputs

in both cases i have no generated code :(

is this a know issue, how can i fix this? thx for you help

gigo1980 avatar May 25 '18 06:05 gigo1980