-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
[TypeScript] Found 0 errors. Watching for file changes. #165
Comments
This looks very confusing. It should be an issue with the lasted version of the vite-plugin-checker plugin: |
What happens when you go the front-end URL? "ERROR" showing up on the front-end logs is harmless and related to what @limboinf mentioned I believe |
|
Can you open up your developer console and show me the logs? Or you can use the hosted version at screenshot-to-code.com |
That didn't really help. I think the issue is most likely that your front end isn't connecting to the backend. 127.0.0.1:7001 opens fine on your browser? are you running this locally? |
I deployed it on the server. It cannot be accessed locally using 127.0.0.1:7001, but when using ip:7001, the following prompt is displayed: |
Ah that's the problem then. The problem is when you access the IP from your local machine, the backend IP you need to use can't be the internal machine IP, it has to be the external IP. So updated frontend/.env.local: VITE_WS_BACKEND_URL=ws://.. |
Yeah if you update it, you need to re build the docker image. |
That .env is in frontend, not backend |
|
I have deployed it using Docker, but when accessing the backend service, there is a prompt.
Your backend is running correctly. Please open the front-end URL (default is http://localhost:5173) to use screenshot-to-code.
Error accessing front-end service as follows:
[TypeScript] Found 0 errors. Watching for file changes.
The text was updated successfully, but these errors were encountered: