kiri-art / stable-diffusion-react-nextjs-mui-pwa

PWA Web App front end for Stable Diffusion, on React/NextJS with Material UI
https://kiri.art/
MIT License
127 stars 32 forks source link

FAILED: Unexpected token '<', "<!DOCTYPE " #41

Open beezisback opened 1 year ago

beezisback commented 1 year ago

I appreciate your work very much and I'm glad that you made something like this OpenSource I installed locally, and I try to generate remotely using the banana API and I get this error FAILED: Unexpected token '<', "<!DOCTYPE "... is not valid JSON

![image](https://user-images.githubusercontent.com/98161342/208885180-434161ce-6a4e-4dc7-9bbe-16e6aef30db3.png) in the server console I only have this error } Error in subscribe({"name":"userLikes","updatedAt":{}}): MongoServerSelectionError: connect ECONNREFUSED 127.0.0.1:27017 at Timeout._onTimeout (C:\Users\Ambsd\Desktop\websd\node_modules\mongodb\lib\sdam\topology.js:293:38) at listOnTimeout (node:internal/timers:564:17) at process.processTimers (node:internal/timers:507:7) { reason: TopologyDescription { type: 'Unknown', servers: Map(1) { '127.0.0.1:27017' => [ServerDescription] }, stale: false, compatible: true, heartbeatFrequencyMS: 10000, localThresholdMS: 15, setName: null, maxElectionId: null, maxSetVersion: null, commonWireVersion: 0, logicalSessionTimeoutMinutes: null }, code: undefined, [Symbol(errorLabels)]: Set(0) {} } if you need any other information, I am at your disposal thanks!

gadicc commented 1 year ago

Hey @beezisback! Thanks so much for reporting and for your kind words.

I admit that the front-end outside of kiir.art is a little neglected, I'll be prioritizing this in the new year. For now, even without requiring registration, there still seems to be some dependencies on having mongo installed. If you have the ability to install mongo locally, it should be enough to get you running in the meantime, otherwise I promise to update early next year when I'm able to put some more time into this!