wundergraph-demo icon indicating copy to clipboard operation
wundergraph-demo copied to clipboard

Demo app is not working

Open aless10 opened this issue 2 years ago • 3 comments

Hi, I cloned the repo and then run

npm install && npm start

This is the error that I've got

[generate:api  ] {"level":"fatal","time":1674049427692,"pid":18377,"hostname":"Air-station","component":"@wundergraph/sdk","msg":"Couldn't configure your WunderNode: Error: introspection failed (url: https://graphql-weather-api.herokuapp.com/, namespace: weather), error: Request failed with status code 503"}
[generate:api  ] Error: configuration could not be generated. Process exit with code 1
[generate:api  ] {"level":"error","time":1674049427703,"msg":"Script runner exited with non-zero exit code","hostname":"Air-station","pid":18376,"component":"@wundergraph/wunderctl","runnerName":"config-runner","exit":1,"startTs":1674049419171007000,"stopTs":1674049427703675000,"complete":true}
[generate:api  ] npm ERR! Lifecycle script `generate` failed with error:
[generate:api  ] npm ERR! Error: command failed
[generate:api  ] npm ERR!   in workspace: undefined
[generate:api  ] npm ERR!   at location: /Users/alessioizzo/wundergraph-demo/api

Maybe this is related to the broken link In fact Screenshot 2023-01-18 alle 14 45 25

aless10 avatar Jan 18 '23 13:01 aless10

Same here. Maybe it makes sense to run a service on Wundergraph Cloud, that way it's a "managed" API dependency @jensneuse ? The weather API is used in many examples and it's down.

mindreframer avatar Jun 19 '23 12:06 mindreframer

@aless10 There is an alternative: https://weather-api.wundergraph.com/ :) I guess this issue can be closed and the example code can be updated to the new URL.

mindreframer avatar Jun 19 '23 12:06 mindreframer

This demo is not up-to-date anymore. Should be marked a read-only, I guess.

mindreframer avatar Jun 19 '23 12:06 mindreframer