generative-ai-docs icon indicating copy to clipboard operation
generative-ai-docs copied to clipboard

Relative import of './mediapipe/web/graph_runner/graph_runner' fails in '/demos/palm/web/talking-character/src/apis'

Open hello-beyond opened this issue 1 year ago • 4 comments

When I try to build or run the project, I get the error message "Module not found: Error: Can't resolve './mediapipe/web/graph_runner/graph_runner' in '.../generative-ai-docs/demos/palm/web/talking-character/src/apis'".

hello-beyond avatar Jun 09 '23 15:06 hello-beyond

this worked for me: https://github.com/google/generative-ai-docs/pull/50

hjopel avatar Jun 15 '23 18:06 hjopel

I had this same problem. I copied the mediapipe folder and its contents to the src/apis directory and that allowed me to run the project, although I still received the error.

Talks2Bots avatar Jun 24 '23 14:06 Talks2Bots

Its #50 not working for me either. Any other idea?

Thank you!

shuaibaslam2019 avatar Nov 29 '23 18:11 shuaibaslam2019

I patch-solved this by creating a directory called mediapipe in src/apis and then move src/apis/web, which is created in first run, under it.

alpoktem avatar Mar 25 '24 16:03 alpoktem