{"action":"created","issue":{"url":"https://api.github.com/repos/jaydenseric/apollo-upload-examples/issues/15","repository_url":"https://api.github.com/repos/jaydenseric/apollo-upload-examples","labels_url":"https://api.github.com/repos/jaydenseric/apollo-upload-examples/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/jaydenseric/apollo-upload-examples/issues/15/comments","events_url":"https://api.github.com/repos/jaydenseric/apollo-upload-examples/issues/15/events","html_url":"https://github.com/jaydenseric/apollo-upload-examples/issues/15","id":431766101,"node_id":"MDU6SXNzdWU0MzE3NjYxMDE=","number":15,"title":"Facing Network Error Message while running locally","user":{"login":"Kaushalop","id":3769092,"node_id":"MDQ6VXNlcjM3NjkwOTI=","avatar_url":"https://avatars2.githubusercontent.com/u/3769092?v=4","gravatar_id":"","url":"https://api.github.com/users/Kaushalop","html_url":"https://github.com/Kaushalop","followers_url":"https://api.github.com/users/Kaushalop/followers","following_url":"https://api.github.com/users/Kaushalop/following{/other_user}","gists_url":"https://api.github.com/users/Kaushalop/gists{/gist_id}","starred_url":"https://api.github.com/users/Kaushalop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kaushalop/subscriptions","organizations_url":"https://api.github.com/users/Kaushalop/orgs","repos_url":"https://api.github.com/users/Kaushalop/repos","events_url":"https://api.github.com/users/Kaushalop/events{/privacy}","received_events_url":"https://api.github.com/users/Kaushalop/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-04-10T23:33:26Z","updated_at":"2019-04-11T00:23:01Z","closed_at":null,"author_association":"NONE","body":"I have been trying to run the project locally and would want to mention helps a lot to achieve the feature.\r\n\r\nI followed the instructions both for **api** and **app**.\r\nBoth of them show up on the browser\r\n\r\n**API Side**\r\n![image](https://user-images.githubusercontent.com/3769092/55920136-8fb53c80-5bad-11e9-8179-13194a48a38f.png)\r\n\r\n**App Side**\r\n\r\n![image](https://user-images.githubusercontent.com/3769092/55920161-a65b9380-5bad-11e9-9855-8b3bf29316cd.png)\r\n\r\nThe following is how my logs look on the **app** console\r\n\r\n> { Error: Network error: Only absolute URLs are supported\r\n    at new ApolloError (D:\\Projects\\apollo-upload-examples\\app\\node_modules\\apollo-client\\bundle.umd.js: 85: 32)\r\n    at D:\\Projects\\apollo-upload-examples\\app\\node_modules\\apollo-client\\bundle.umd.js: 1041: 45\r\n    at D:\\Projects\\apollo-upload-examples\\app\\node_modules\\apollo-client\\bundle.umd.js: 1413: 21\r\n    at Array.forEach (<anonymous>)\r\n    at D:\\Projects\\apollo-upload-examples\\app\\node_modules\\apollo-client\\bundle.umd.js: 1412: 22\r\n    at Map.forEach (<anonymous>)\r\n    at QueryManager.broadcastQueries (D:\\Projects\\apollo-upload-examples\\app\\node_modules\\apollo-client\\bundle.umd.js: 1407: 26)\r\n    at D:\\Projects\\apollo-upload-examples\\app\\node_modules\\apollo-client\\bundle.umd.js: 990: 35\r\n    at process._tickCallback (internal/process/next_tick.js: 68: 7)\r\n      graphQLErrors: [],\r\n  networkError:\r\n   TypeError: Only absolute URLs are supported\r\n       at getNodeRequestOptions (D:\\Projects\\apollo-upload-examples\\app\\node_modules\\node-fetch\\lib\\index.js: 1293: 9)\r\n       at D:\\Projects\\apollo-upload-examples\\app\\node_modules\\node-fetch\\lib\\index.js: 1393: 19\r\n       at new Promise (<anonymous>)\r\n       at Object.fetch (D:\\Projects\\apollo-upload-examples\\app\\node_modules\\node-fetch\\lib\\index.js: 1390: 9)\r\n       at Object.fetch (D:\\Projects\\apollo-upload-examples\\app\\node_modules\\cross-fetch\\dist\\node-ponyfill.js: 10: 20)\r\n       at D:\\Projects\\apollo-upload-examples\\app\\node_modules\\apollo-upload-client\\lib\\index.js: 88: 7\r\n       at new Subscription (D:\\Projects\\apollo-upload-examples\\app\\node_modules\\zen-observable\\lib\\Observable.js: 183: 34)\r\n       at Observable.subscribe (D:\\Projects\\apollo-upload-examples\\app\\node_modules\\zen-observable\\lib\\Observable.js: 262: 14)\r\n       at D:\\Projects\\apollo-upload-examples\\app\\node_modules\\apollo-link-dedup\\lib\\bundle.umd.js: 60: 59\r\n       at new Subscription (D:\\Projects\\apollo-upload-examples\\app\\node_modules\\zen-observable\\lib\\Observable.js: 183: 34)\r\n       at Observable.subscribe (D:\\Projects\\apollo-upload-examples\\app\\node_modules\\zen-observable\\lib\\Observable.js: 262: 14)\r\n       at D:\\Projects\\apollo-upload-examples\\app\\node_modules\\apollo-client\\bundle.umd.js: 1444: 86\r\n       at new Promise (<anonymous>)\r\n       at QueryManager.fetchRequest (D:\\Projects\\apollo-upload-examples\\app\\node_modules\\apollo-client\\bundle.umd.js: 1442: 20)\r\n       at QueryManager.fetchQuery (D:\\Projects\\apollo-upload-examples\\app\\node_modules\\apollo-client\\bundle.umd.js: 975: 42)\r\n       at QueryManager.startQuery (D:\\Projects\\apollo-upload-examples\\app\\node_modules\\apollo-client\\bundle.umd.js: 1300: 18),\r\n  message: 'Network error: Only absolute URLs are supported',\r\n  extraInfo: undefined\r\n}\r\n    \r\n\r\n**api** side console looks like this\r\n\r\nλ npm run dev\r\n\r\n> apollo-upload-examples-api@ dev D:\\Projects\\apollo-upload-examples\\api\r\n> nodemon -i db.json\r\n\r\n> [nodemon] 1.18.9\r\n> [nodemon] to restart at any time, enter `rs`\r\n> [nodemon] watching: *.*\r\n> [nodemon] starting `node --experimental-modules -r dotenv/config server`\r\n> (node:11800) ExperimentalWarning: The ESM module loader is experimental.\r\n> Serving http://localhost:3001 for development.\r\n\r\n\r\nIs there something I am completely missing on the setup side?\r\n\r\nAnd when I try uploading a Blob file it shows up like this on the browser console\r\n\r\n![image](https://user-images.githubusercontent.com/3769092/55920604-5c26e200-5bae-11e9-8172-369e9aafeccb.png)\r\n"},"comment":{"url":"https://api.github.com/repos/jaydenseric/apollo-upload-examples/issues/comments/481919362","html_url":"https://github.com/jaydenseric/apollo-upload-examples/issues/15#issuecomment-481919362","issue_url":"https://api.github.com/repos/jaydenseric/apollo-upload-examples/issues/15","id":481919362,"node_id":"MDEyOklzc3VlQ29tbWVudDQ4MTkxOTM2Mg==","user":{"login":"jaydenseric","id":1754873,"node_id":"MDQ6VXNlcjE3NTQ4NzM=","avatar_url":"https://avatars0.githubusercontent.com/u/1754873?v=4","gravatar_id":"","url":"https://api.github.com/users/jaydenseric","html_url":"https://github.com/jaydenseric","followers_url":"https://api.github.com/users/jaydenseric/followers","following_url":"https://api.github.com/users/jaydenseric/following{/other_user}","gists_url":"https://api.github.com/users/jaydenseric/gists{/gist_id}","starred_url":"https://api.github.com/users/jaydenseric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaydenseric/subscriptions","organizations_url":"https://api.github.com/users/jaydenseric/orgs","repos_url":"https://api.github.com/users/jaydenseric/repos","events_url":"https://api.github.com/users/jaydenseric/events{/privacy}","received_events_url":"https://api.github.com/users/jaydenseric/received_events","type":"User","site_admin":false},"created_at":"2019-04-11T00:23:01Z","updated_at":"2019-04-11T00:23:01Z","author_association":"OWNER","body":"I just updated all the API and app dependencies, gave it a run, and everything works.\r\n\r\nAre you sure you configured the `.env` files, according to the setup instructions?\r\n\r\n- https://github.com/jaydenseric/apollo-upload-examples/tree/master/api#setup\r\n- https://github.com/jaydenseric/apollo-upload-examples/tree/master/app#setup"}}
{"actor":{"display_login":"jaydenseric"}}