Nutlope/roomGPT

Runtime Error after uploading image

TommeZ opened this issue · 5 comments

TommeZ commented
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

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

How to fix this error

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

TommeZ commented

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

Already did.

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

00_11_58 25-02-2024