Nutlope / roomGPT

Upload a photo of your room to generate your dream room with AI.
https://www.roomgpt.io/
MIT License
9.78k stars 1.29k forks source link

Runtime Error after uploading image #101

Open TommeZ opened 11 months ago

TommeZ commented 11 months ago
Unhandled Runtime Error

SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
- error TypeError: Cannot read properties of undefined (reading 'get')
    at POST (webpack-internal:///(sc_server)/./app/generate/route.ts:56:46)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)        
    at async eval (webpack-internal:///(sc_server)/./node_modules/next/dist/server/future/route-modules/app-route/module.js:242:37)

Anyone else recieve the same issue?

lianhc commented 10 months ago

same to me : error TypeError: Cannot read properties of undefined (reading 'get')

JAYAPRIYA9601 commented 10 months ago

How to fix this error

smonami commented 9 months ago

Make sure to have a .env file with value for REPLICATE_API_KEY

TommeZ commented 9 months ago

Make sure to have a .env file with value for REPLICATE_API_KEY

Already did.

brendan8c commented 5 months ago

No images can be loaded on the site, always an error

00_11_58 25-02-2024