Open seyeong-han opened 2 months ago
@seyeong-han I want to check on this issue. Looks like you still need to replace react-hls-player
with react-player
as the final task?
@james-le-twelve-labs
Finally, I could have time to contribute to Jockey again, and I finished replacing the react-hls-player
library on this PR.
Replace deprecated react hls player #105
I really enjoyed learning and using Video Understanding Models in your API playground and tried to implement the
frontend
app locally. But, there were some challenges to running it, and I wanna share it by raising this issue.Challenges that I encountered
Running
frontend
1. Absence of example
.env
file forfrontend
andserver.js
.The
.env
should look like this underfrontend
directory.I created
REACT_APP_LANGGRAPH_API_URL
to connect withjockey server
sdk. The URL was set as defaulthttp://localhost:8123
bylanggraph-sdk
, but I couldn't connect withlanggraph-sdk
withoutapiKey
.streamEventsApis.js
2.
react-hls-player
dependency conflict issue withreact@18.0.0
I got the
react-his-player
dependency conflict issue and found it has been stopped from being maintained since 2021.For the stable deployment, I suggest to use
react-player
to replace thereact-hls-player
package.3. Missing
dotenv
package in thefrontend/server.js
I am using
Ubuntu:22.04
for this implementation. I don't know if Mac OS has the same issue, but to read the.env
, I needed to add this in thefrontend/server.js
.Running
jockey server
1. Absence of
LANGSMITH_API_KEY
instruction onmain
branchI found that the
langchain API key
issue has been solved in this issue, but it wasn't merged into themain
branch.2. Permission Denied on Composing Up Langgraph
I am working on this project on Ubuntu:22.04 and got this reading permission error in
run_jockey_server()
of jockey/cli.py.I am using the below command as a temporary workaround. I am gonna work on recognizing the OS to determine what
cli
should be used.Todo
I am going to break down the following issues into different branches.
LANGSMITH_API_KEY
instruction in.env
file to run thejockey server
.frontend/example.env
& FixClient
oflanggraph-sdk
& Adddotenv
infrontend/server.js
langgraph_cli_command
to solve a permission errorreact-hls-player
withreact-player