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

Error with simple example in provided documentation #1442

Open
crazyjat opened this issue Nov 7, 2022 · 3 comments
Open

Error with simple example in provided documentation #1442

crazyjat opened this issue Nov 7, 2022 · 3 comments

Comments

@crazyjat
Copy link

crazyjat commented Nov 7, 2022

I followed the setup document here and got the following error running bazel build //:all

ERROR: error loading package '': Label '//scala:scala.bzl' is invalid because 'scala' is not a package; perhaps you meant to put the colon here: '//:scala/scala.bzl'?
@crazyjat
Copy link
Author

crazyjat commented Nov 7, 2022

I fixed it by changing it to load("@io_bazel_rules_scala//scala:scala.bzl", "scala_repositories")

@simuons
Copy link
Collaborator

simuons commented Nov 8, 2022

Hi @crazyjat, which guide you followed that caused the confusion? I've fixed one instance in #1444 was it this one?

@crazyjat
Copy link
Author

crazyjat commented Nov 8, 2022

This was the URL, https://github.com/bazelbuild/rules_scala, looks fixed now. Thanks

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

2 participants