Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Network Error on Login Screen - Fullstack Template gitclone and copier setup approach #1368

Discussion options

First Check

  • I added a very descriptive title here.
  • I used the GitHub search to find a similar question and didn't find it.
  • I searched in the documentation/README.
  • I already searched in Google "How to do X" and didn't find any information.
  • I already read and followed all the tutorial in the docs/README and didn't find an answer.

Commit to Help

  • I commit to help with one of those options 👆

Example Code

py -m copier copy https://github.com/fastapi/full-stack-fastapi-template Limber-Dash --trust
fnm install
fnm use
npm install
npm run dev 
Network error

Description

I have done a clean setup following both the github clone and the copier guide and keep hitting the following breaking error.

After completing initial setup of the template I run npm run dev and everything appears to be working fine and I can navigate to the login page

image

However when attempting to login to the dashboard I get 'Network Error' when logging in with the firstsuperuser creds or any dummy use creds - other discussions related to this issue seem to focus on complications when modifying something to use on docker however I am fully running locally and have done no customization to any files

image

image

Operating System

Windows

Operating System Details

Windows 11 23H2

Python Version

Python 3.12.6

Additional Context

No response

You must be logged in to vote

Before running frontend, you should run docker compose watch, then stop frontend container by docker compose stop frontend.

Docs: https://github.com/fastapi/full-stack-fastapi-template/blob/master/development.md

Replies: 5 comments

Comment options

Same. Up

You must be logged in to vote
0 replies
Comment options

Send the output of the backend container, see if it is up and receiving any requests

You must be logged in to vote
0 replies
Comment options

Yes, i'we been there too 😉
Just because you r running front end with npm run dev and prolly backend with fastapi Its not enought.
You still need to run ducker postgres database. Otherwise you get tis error. So fireup docker, usebthat docker copose to run all of it. Than you can turn off front end/backend and start hacking locally

You must be logged in to vote
0 replies
Comment options

I meet this trouble as well. You can try this: 1. turn off vpn; 2. restart the whole project, then it will work. Maybe something need taking time to start.

You must be logged in to vote
0 replies
Comment options

Before running frontend, you should run docker compose watch, then stop frontend container by docker compose stop frontend.

Docs: https://github.com/fastapi/full-stack-fastapi-template/blob/master/development.md

You must be logged in to vote
0 replies
Answer selected by YuriiMotov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

AltStyle によって変換されたページ (->オリジナル) /