Converse.js: network and ui issues when running 6.0.1 dev locally

Created on 23 Jul 2020  路  3Comments  路  Source: conversejs/converse.js

Hey guys, I pulled the latest code on master branch and generated the two files converse.min.css and converse.min.js using npm run build locally, I tried to run it, but the UI seems strange(e.g., losing emoji, tool options) and it is stuck when I want to send messages(e.g. when I want to send a message, I click on return, nothing happens).

Any suggestions?

image
image
image
image

Most helpful comment

The main error appears to be GET file:///dist/emojis.js net::ERR_FILE_NOT_FOUND.

Looks like you're trying to load Converse via file:///. That won't work, you need a web server.

You can run make serve and then go to https://localhost:8000/dev.html. You'll want to update the file dev.html to add your own configuration settings.

Thank you, just got it up.

All 3 comments

The errors are pretty verbose, you need other js files too.

Try to make dist and use the _whole dist folder_.

The main error appears to be GET file:///dist/emojis.js net::ERR_FILE_NOT_FOUND.

Looks like you're trying to load Converse via file:///. That won't work, you need a web server.

You can run make serve and then go to https://localhost:8000/dev.html. You'll want to update the file dev.html to add your own configuration settings.

The main error appears to be GET file:///dist/emojis.js net::ERR_FILE_NOT_FOUND.

Looks like you're trying to load Converse via file:///. That won't work, you need a web server.

You can run make serve and then go to https://localhost:8000/dev.html. You'll want to update the file dev.html to add your own configuration settings.

Thank you, just got it up.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

guusdk picture guusdk  路  5Comments

irfancnk picture irfancnk  路  6Comments

ghost picture ghost  路  7Comments

fabiomontefuscolo picture fabiomontefuscolo  路  4Comments

cesarplata picture cesarplata  路  6Comments