-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to build nodejs example #523
Comments
The build instructions are here. You build |
Thank you. I tried it, but the last command failed:
I do not have a JDK installed, so I assume that it was obtained by Bazel. |
I don't really understand the whole Bazel toolchain thing, but I think the easiest fix is to install a local JDK. google-ai-edge/mediapipe#68 |
Lacking further updates, I will assume the issue is resolved. |
Hi,
I am new to Bazel and was trying to build the nodejs example. Basically what I did is the following:
Run
bazel build :hello
from the examples/nodejs directory on the clean repo. This failed with the following error:Logs
After some research I understood that I need to manually build
dpkg_parser.par
. So I did the following:Logs
I then tried to build the
hello
target again, now it failed with a different error:Logs
So for some reason the
dpkg_parser.par
file is not there, but thebazel-bin/package_manager
folder contained adpkg_parser
Python file. Feeling lucky I linked this todpkg_parser.par
and reran the build:Logs
Now that error seems to be related to the Python version. On my system both Python versions are available, but 2 is the default:
Logs
I re-ran using
--host_force_python=2
, sadly to no avail:Logs
Can someone tell me what I am doing wrong here?
The text was updated successfully, but these errors were encountered: