Skip to content
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

No such package '@com_google_javascript_closure_library//closure/goog/soy' #572

Open
lemito opened this issue Feb 27, 2023 · 6 comments
Open

Comments

@lemito
Copy link

lemito commented Feb 27, 2023

Hello,
I met following error:

ERROR: /Users/jacob/projects/feedbacker/src/assets/test/BUILD:32:1: no such package 'closure/templates': BUILD file not found on package path and referenced by '//:hello_soy'.
ERROR: Loading failed; build aborted.

ERROR: /home/lemito/cpp-starter-kit/cpp/sources/clo/BUILD:35:19: no such package '@com_google_javascript_closure_library//closure/goog/soy': BUILD file not found in directory 'closure/goog/soy' of external repository @com_google_javascript_closure_library. Add a BUILD file to a directory to mark it as a package. and referenced by '//sources/clo:greeter_lib' ERROR: Analysis of target '//sources/clo:greeter_lib' failed; build aborted: Analysis failed

My files:
https://github.com/lemito/my-monorepo

@gkdn
Copy link
Collaborator

gkdn commented Mar 1, 2023

Same examples works in this repository so seems related to your repository setup.
You are using a different com_google_javascript_closure_library version, it might be related to that.

@lemito
Copy link
Author

lemito commented Mar 8, 2023

No, I have not changed the closure library version

@lemito
Copy link
Author

lemito commented Apr 8, 2023

Hello again :)

And how do I know which version of com_google_javascript_closure_library I have and which one I need to use for rules_closure to work properly ?

@gkdn
Copy link
Collaborator

gkdn commented Apr 11, 2023

If you don't override it, you should be getting v20220301 at the moment.

@roman-kashitsyn
Copy link

roman-kashitsyn commented Sep 7, 2023

The problem might be that the 0.12 release uses an older version of the closure library, and there hasn't been a release for two years. It would be helpful to document how to use the latest version of rules_closure. Or cut a release :)

@lemito
Copy link
Author

lemito commented Sep 15, 2023

@roman-kashitsyn Yes, it would be nice to either update the documentation or the rules_closure itself . Or will it itself no longer get updates since google itself stopped using it and moved to frameworks like angular?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants