0Shark / live-interview

Chatbot with a 3D avatar that can answer interview questions in your behalf. It can speak and understand English, German and Albanian. Based on the GPT 4 model and Azure Speech to Text and Text to Speech, it is able to make realistic conversations about a job interview and save conversations.
https://ai.juledz.com/
17 stars 9 forks source link

initial project setup #2

Open caoyu1995 opened 2 months ago

caoyu1995 commented 2 months ago

when i got this project running there are some issues

image
Avatar.jsx:205 
THREE.PropertyBinding: Trying to update node for track: Armature.quaternion but it wasn't found. 
    at Avatar (http://localhost:5173/src/components/Avatar.jsx?t=1718778470467:100:13)
    at Experience (http://localhost:5173/src/components/Experience.jsx:23:3)
    at Suspense
    at ErrorBoundary (http://localhost:5173/node_modules/.vite/deps/chunk-3O454EOX.js?v=a66fa958:16025:5)
    at FiberProvider (http://localhost:5173/node_modules/.vite/deps/chunk-3O454EOX.js?v=a66fa958:17754:21)
    at Provider (http://localhost:5173/node_modules/.vite/deps/chunk-3O454EOX.js?v=a66fa958:17372:3)
Avatar.jsx:194 
Uncaught (in promise) DOMException: play() failed because the user didn't interact with the document first. https://goo.gl/xX8pDD

and soket ios is keep regenerating as well

image

pls, help me with these

0Shark commented 2 months ago

Hi, the errors you are seeing in console shouldn't be a problem, but I think the issue is that you need to change

this.socket = io();

to

this.socket = io("localhost:5000");

in \components\hooks\chatbotService.jsx that's why the app is not able to connect to the websocket server.

You also need to first make sure you are running:

node server.js

then on another terminal you can run

npm run dev
harshith-eth commented 1 month ago
Screenshot 2024-07-06 at 3 34 16 AM Screenshot 2024-07-06 at 3 34 41 AM Screenshot 2024-07-06 at 3 34 57 AM Screenshot 2024-07-06 at 3 35 27 AM
0Shark commented 1 month ago

Hey @harshith-eth the issue you are having is because the packages are not installing properly and this is due to the missing FontAwesome token in your .npmrc file. You can check here: #3