Using n8n chat widget with versions >0.9.1

I am having trouble using the CDN version of the n8n chat widget on recent (> 0.9.1 ) versions.

I am currently deploying my chatbot as a single .html file to a static website host. I was exploring the option of just bundling the n8n chat dependencies, so that I don’t rely on the CDN and can deploy it all together.

First of all let me state I am not a Javascript developer so this question might have an obvious answer I am missing.

I am using the CDN embed example from the chat docs. (for some reason I get a 403 error from the post editor on this community, no further explanation).

I want to specify the version of the chat widget. I have only had success with v0.9.1:

What is the error message (if any)?

If I try any other version any newer, I get 404 errors from the .css and .js file. I have checked the code for newer releases on npmjs.com, and there are a few newer versions.

Please share your workflow

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 1.45.1
  • Database (default: SQLite): SQLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main): I don’t know
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: Debian Bookworm

I have looked in the code tab of npmjs.com, and my understanding is that from v 0.9.1, there is no built distribution files (style.css and chat.bundle.es.js), so the only option is to npm install them and build them myself?

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Can you please try again with 0.19.1 or latest ? :pray:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.