Flowise icon indicating copy to clipboard operation
Flowise copied to clipboard

[BUG] web.js loads a non-existent livereload.js file

Open hisune opened this issue 2 years ago • 1 comments

Describe the bug web.js loads a non-existent livereload.js file

To Reproduce I have deployed the following code to my own website:

<script type="module">
    import Chatbot from "https://cdn.jsdelivr.net/npm/flowise-embed/dist/web.js"
    Chatbot.init({
        chatflowid: "MY CHATFLOW ID",
        apiHost: "http://MY_API_HOST",
    })
</script>

After refreshing my site, I see the chat button, but opening the chrome console, I see he he keeps trying to value the file livereload.js, which does not exist on my site, and port 35729 is also not open

Screenshots image

Flow image

Setup

  • Installation: npx flowise start
  • Flowise Version: 1.2.13
  • OS: Windows
  • Browser: Edge

hisune avatar Jun 25 '23 02:06 hisune

Does the embedded chat successfully send and receive message?

HenryHengZJ avatar Jun 25 '23 14:06 HenryHengZJ

Does the embedded chat successfully send and receive message?

The embedded chat function works fine, but the browser keeps spinning around to load this non-existent js file

hisune avatar Jun 26 '23 01:06 hisune

The latest version of flowise-embed has solved this bug

hisune avatar Jun 26 '23 01:06 hisune

Version 1.4.5 still has the same issue. Not sure if this is a bug or misconfiguration during deployment. I can't find anything in the documentation or even in search engines about it.

I opened this discussion before finding your post https://github.com/FlowiseAI/Flowise/discussions/1380

azzuwayed avatar Dec 17 '23 12:12 azzuwayed