abi / screenshot-to-code

Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)
https://screenshottocode.com
MIT License
61.55k stars 7.52k forks source link

404 Not Found the http://127.0.0.1:5173/ #392

Open haodechi opened 3 months ago

haodechi commented 3 months ago

404 Not Found the http://127.0.0.1:5173/ image

abi commented 3 months ago

Please share your terminal logs where you are running the front end and back end to help with debugging.

eduaragon27 commented 2 months ago

Tengo el mismo problema image

en la terminal aparece lo siguiente: INFO: Will watch for changes in these directories: ['C:\\Users\\earagon\\Downloads\\screenshot-to-code-main\\backend'] INFO: Uvicorn running on http://127.0.0.1:7001 (Press CTRL+C to quit) INFO: Started reloader process [25556] using StatReload C:\Users\earagon\AppData\Local\pypoetry\Cache\virtualenvs\backend-tGTVzEwr-py3.12\Lib\site-packages\moviepy\config_defaults.py:1: SyntaxWarning: invalid escape sequence '\P' """ C:\Users\earagon\AppData\Local\pypoetry\Cache\virtualenvs\backend-tGTVzEwr-py3.12\Lib\site-packages\moviepy\video\io\ffmpeg_reader.py:294: SyntaxWarning: invalid escape sequence '\d' lines_video = [l for l in lines if ' Video: ' in l and re.search('\d+x\d+', l)] C:\Users\earagon\AppData\Local\pypoetry\Cache\virtualenvs\backend-tGTVzEwr-py3.12\Lib\site-packages\moviepy\video\io\ffmpeg_reader.py:367: SyntaxWarning: invalid escape sequence '\d' rotation_lines = [l for l in lines if 'rotate :' in l and re.search('\d+$', l)] C:\Users\earagon\AppData\Local\pypoetry\Cache\virtualenvs\backend-tGTVzEwr-py3.12\Lib\site-packages\moviepy\video\io\ffmpeg_reader.py:370: SyntaxWarning: invalid escape sequence '\d' match = re.search('\d+$', rotation_line) INFO: Started server process [17856] INFO: Waiting for application startup. INFO: Application startup complete. INFO: 127.0.0.1:57866 - "GET / HTTP/1.1" 200 OK INFO: 127.0.0.1:57866 - "GET /favicon.ico HTTP/1.1" 404 Not Found INFO: 127.0.0.1:57957 - "GET / HTTP/1.1" 200 OK INFO: 127.0.0.1:57957 - "GET /favicon.ico HTTP/1.1" 404 Not Found INFO: 127.0.0.1:58064 - "GET / HTTP/1.1" 200 OK INFO: 127.0.0.1:58064 - "GET /favicon.ico HTTP/1.1" 404 Not Found INFO: 127.0.0.1:58206 - "GET / HTTP/1.1" 200 OK INFO: 127.0.0.1:58946 - "GET / HTTP/1.1" 200 OK INFO: 127.0.0.1:58946 - "GET /favicon.ico HTTP/1.1" 404 Not Found

1851616111 commented 4 days ago

Windows Me too