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

There is an error when I am building an scss file. #155

Open
ZJT0317 opened this issue Dec 12, 2024 · 0 comments
Open

There is an error when I am building an scss file. #155

ZJT0317 opened this issue Dec 12, 2024 · 0 comments

Comments

@ZJT0317
Copy link

ZJT0317 commented Dec 12, 2024

I use:

http_archive(
      name = "io_bazel_rules_sass",
      url = "https://github.com/bazelbuild/rules_sass/archive/refs/tags/1.82.0.tar.gz",
      sha256 = "3b6ea8047c1c3d784055fc8b803575707c5f894fb7c145cd38819c86b1b9bc70",
      strip_prefix = "rules_sass-1.82.0",
  )
http_archive(
      name = "build_bazel_rules_nodejs",
      url = "https://github.com/bazel-contrib/rules_nodejs/archive/refs/tags/5.8.5.tar.gz",
      sha256 = "3559eb332fffc2357e19f9bbe3394b7f1656aeba5e3e2b097b42b30b9cf513fb",
      strip_prefix = "rules_nodejs-5.8.5",
  )
http_archive(
      name = "rules_nodejs",
      url = "https://github.com/bazel-contrib/rules_nodejs/releases/download/v6.3.2/rules_nodejs-v6.3.2.tar.gz",
      sha256 = "158619723f1d8bd535dd6b93521f4e03cf24a5e107126d05685fbd9540ccad10",
      strip_prefix = "rules_nodejs-6.3.2",
  )

load("@io_bazel_rules_sass//:defs.bzl", "sass_repositories")
sass_repositories()

Then I build main.scss,has an error:
cannot load '@rules_nodejs//nodejs:yarn_repositories.bzl': no such file

I don't want to lower the version number of rules_nodejs because other applications in the project use rules_nodejs, but I can use rules_sass. What should I do?

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

1 participant