how to run this application
zainbinfurqan opened this issue · 5 comments
how can i run this application
Hi @zainbinfurqan , this is not an application, this is a library to help developers build applications using React and Jitsi
I encourage you to read through https://reactjs.org/docs/getting-started.html for more information about React and https://jitsi.github.io/handbook/ for what is Jitsi
And if you want to try the demo application you see here, the code for it is inside https://github.com/this-fifo/jutsu/tree/master/example
Have a nice day!
PS: for information about how to integrate this into an existing React app please follow the instructions in the README file
its giving me this error
index.es.js:78 Uncaught TypeError: Object(...) is not a function
at useJitsi (index.es.js:78)
at Jutsu (index.es.js:161)
at mountIndeterminateComponent (react-dom.development.js:15167)
at beginWork (react-dom.development.js:15692)
at performUnitOfWork (react-dom.development.js:18750)
at workLoop (react-dom.development.js:18791)
at HTMLUnknownElement.callCallback (react-dom.development.js:147)
at Object.invokeGuardedCallbackDev (react-dom.development.js:196)
at invokeGuardedCallback (react-dom.development.js:250)
at replayUnitOfWork (react-dom.development.js:17998)
at renderRoot (react-dom.development.js:18909)
at performWorkOnRoot (react-dom.development.js:19812)
at performWork (react-dom.development.js:19722)
at performSyncWork (react-dom.development.js:19696)
at interactiveUpdates$1 (react-dom.development.js:19984)
at interactiveUpdates (react-dom.development.js:2267)
at dispatchInteractiveEvent (react-dom.development.js:5081)
this error giving in demo application code
To run the demo application you actually need to build the library as well, so the workflow would be
- Clone the repo
- Run
yarn && yarn start
at the root directory - Open another shell and navigate to
/example
- Run
yarn && yarn start
inside/example
Essentially, the example application relies on the development instance of the library, you can see that looking at the package.json file through the link
expression
Alternatively, if you want to run the example using the production release you need to update that package.json file to instead get it from npm
Hopefully that clarifies things a bit