google / jsinterop-base

Utilities for GWT and J2CL to interact with JavaScript beyond JsInterop
Apache License 2.0
67 stars 16 forks source link

Docu outdated, Version 1.0.0 not compiling #18

Closed vruegner closed 2 years ago

vruegner commented 2 years ago

When following the instructions to set it up with bazel i get the following error:

ERROR: /home/<name>/.cache/bazel/bazel<name>/8c6b2a3b7ef920759046b6771c685747/external/com_google_jsinterop_base/third_party/BUILD:25:12: no such package '@org_gwtproject_gwt//user': The repository '@org_gwtproject_gwt' could not be resolved: Repository '@org_gwtproject_gwt' is not defined and referenced by '@com_google_jsinterop_base//third_party:gwt-javaemul-internal-annotations-j2cl'

When i switch from Version '1.0.0' to 'master' it works.

PS: i edited out my name and replaced it with '<name>'

gkdn commented 2 years ago

You might have a mix of different repositories. branch-v1.0.0 checkouts out particular version of J2CL that provides a binding for org_gwtproject_gwt while above error suggests it is not defined.

vruegner commented 2 years ago

I loaded the master branch of J2CL in my Workspace file and then jsinterop-base v1.0.0. Guess that solves this, thank you :).