Hello Friend,
I have just cloned chatroom github repo and tried running it.I m getting this error.Please let me know how to fix it.
Basically my main aim is to integrate my rasa with UI interface which take text and voice, both as input.I am stuck with this UI getting ./dist/chatroom.css not found.
step i used to run this repo:
yarn build
yarn watch
yarn serve
Open http://localhost:8080/index.html in my browser
There is no reason to rebuild the Javascript / CSS if you don’t intend to do any style modifications to the chatroom. If you just want to use the default chatroom use the hosted version from S3:
<link rel="stylesheet" href="https://npm-scalableminds.s3.eu-central-1.amazonaws.com/@scalableminds/chatroom@master/dist/Chatroom.css" />
</head>
<body>
<div class="chat-container"></div>
<script src="https://npm-scalableminds.s3.eu-central-1.amazonaws.com/@scalableminds/chatroom@master/dist/Chatroom.js"/></script>
<script type="text/javascript">
var chatroom = window.Chatroom({
host: "http://localhost:5005",
title: "Chat with Mike",
container: document.querySelector(".chat-container"),
welcomeMessage: "Hi, I am Mike. How may I help you?",
speechRecognition: "en-US"
});
chatroom.openChat();
</script>
</body>```