screenshot-to-code icon indicating copy to clipboard operation
screenshot-to-code copied to clipboard

Error generating code. Check the Developer Console AND the backend logs for details

Open SmartWebCodder opened this issue 2 years ago • 7 comments

My ChatGPT has access to GPT-VISION. and the web app loads well but when I upload an image. it returns this error 'Error generating code. Check the Developer Console AND the backend logs for details' error

SmartWebCodder avatar Dec 01 '23 22:12 SmartWebCodder

I have same issues , I already entered API key

ranmaolin avatar Dec 03 '23 07:12 ranmaolin

Did it work when you entered API Key?

SmartWebCodder avatar Dec 03 '23 12:12 SmartWebCodder

Take a look here, maybe you are missing the .env file in the frontend: https://github.com/abi/screenshot-to-code/issues/155#issuecomment-1837482503

jacquesmats avatar Dec 03 '23 13:12 jacquesmats

still same error.

SmartWebCodder avatar Dec 03 '23 20:12 SmartWebCodder

I have same issues , I already entered API key

yxf-git avatar Dec 04 '23 01:12 yxf-git

I have the same error, but my error only exists in docker

SilentEchoe avatar Mar 18 '24 10:03 SilentEchoe

@AnAnonymousFriend please share your docker logs to help debug it.

abi avatar Mar 18 '24 16:03 abi

@abi When I added "--host 0.0.0.0", docker worked fine

SilentEchoe avatar Mar 20 '24 03:03 SilentEchoe

Great!

abi avatar Mar 20 '24 11:03 abi