Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Failed to fetch #37

Open
Arstman opened this issue Nov 8, 2018 · 1 comment
Open

TypeError: Failed to fetch #37

Arstman opened this issue Nov 8, 2018 · 1 comment

Comments

@Arstman
Copy link

Arstman commented Nov 8, 2018

hi, I installed backend and frontend on my vps, and to visit backend it shows:

"it works!"

which i assume it works, and i run frontend and always got:

TypeError: Failed to fetch

image

i thought this might be something wrong about my backend, so i set the backend point to try-puppeteer.appspot.com in app.js as below:

const BACKEND_HOST = ( 'https://backend-dot-try-puppeteer.appspot.com');

and still i got the same TypeError: Failed to fetch

any idea what i got wrong?

thanks?

@ebidel
Copy link
Owner

ebidel commented Jan 14, 2019

If you open up the network panel what request is it trying to make that's failing? If you're running locally you need to run the frontend and back separately.

frontend

yarn start

backend:

cd backend
yarn restart

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants