Closed brinrbc closed 4 months ago
if I'm looking at the inside tab of an app "Embedding -Embed your bot on your website or blog" I see this error in the widget window
Hey, there's an error because the widget is missing. You need to manually build the widget and move it to the backend dist folder. I hope this documentation is helpful to you: https://dialoqbase.n4ze3m.com/guide/running-locally-for-development.html
Please let me know if you still encounter the error
Hey, thank you for your reply! I've gone through this guide 4 times https://dialoqbase.n4ze3m.com/guide/running-locally-for-development.html#steps-to-run-locally and I get the same problem. But maybe something in the documentation has changed? Because the other post has a slightly different setup https://github.com/n4ze3m/dialoqbase/issues/175#issuecomment-1859173314
Perhaps the problem lies in the fact that the mv app/ui/dist server/dist/public
command does not create the server/dist/public folder (initially dist/public it is not there) and I created it manually, which may have caused the application logic not to work as it should.
I tried to move it manually in accordance with the commands and got another error (white widget screen disappeared) -just a black widget screen and the inscription- {"message":"Route GET:/bot/c5da4168-c714-4e85-87f5-c8d2aa48679d?mode=iframe&no=button not found","error":"Not Found","statusCode":404}
Hey, I don't know which OS you're using. Is this video helpful to you?
Hey, I don't know which OS you're using. Is this video helpful to you?
MacOs Intel.
Video not available This is a restricted video.
Is it helpful? Just copy the files from the 'widget/dist' directory to the 'server/dist'. If there isn't a 'dist' folder in 'server', create one. Inside the 'dist' folder, create a 'public' folder and paste the copied files there. Finally, rename 'index.html' to 'bot.html.' That's all
Anyway, I uninstalled all the programs that can be used in the application and reinstalled everything according to the instruction https://dialoqbase.n4ze3m.com/guide/running-locally-for-development.html.
Everything worked, in the instructions there is a typo /the frontend at localhost:5173/, it should be /localhost:5123/.
But I went to /localhost:5123/ and saw a new error -
/Request failed with status code 404. Try again./
I went to http://localhost:3000/ and saw the login menu. For some reason the backend became frontend. Everything else is working. Thanks for your time! Closing.
thank you very much for your work! Saw this thread https://github.com/n4ze3m/dialoqbase/issues/98 with a similar problem, but I don't use docker. And as far as I'm concerned, it's different
If I click on the line, the message- {"message":"Route GET:/bot/bot/d939ce0c-8479-49a4-8cde-52e30c5ac187/style not found","error":"Not Found","statusCode":404}
ChatGPT says that a request to the specified route (GET:/bot/bot/d939ce0c-8479-49a4-8cde-52e30c5ac187/style) in the web application or API cannot be processed because the corresponding resource or path is not found on the server. But what to do I can't figure out. but the playground chatbot in the app works