ERROR: Failed to load Starlark extension '@npm_bazel_karma//:package.bzl'.

See original GitHub issue

πŸš€ feature request

Relevant Package

This feature request is for @angular/....

I want to run the debugging project through the yarn bazel build packages / core command

Description

A clear and concise description of the problem or missing capability...

When I execute the order, I report the following error

ERROR: Failed to load Starlark extension β€˜@npm_bazel_karma//:package.bzl’. It usually happens when the repository is not defined prior to being used. This could either mean you have to add the β€˜npm_bazel_karma’ repository with tatement like http_archive in your WORKSPACE file (note that transitive dep encies are not added automatically), or the repository β€˜npm_bazel_karma’ was ined too late in your WORKSPACE file.

Describe the solution you’d like

If you have a solution in mind, please describe it.

was ined too late in your WORKSPACE file???

Describe alternatives you’ve considered

Have you considered any alternative solutions or workarounds?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
weiboncommented, Jun 4, 2019

a. ε•Š

1reaction
weiboncommented, Jun 4, 2019

ε•Š .

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bad error message - Failed to load Starlark extension #7784
bzl'. It usually happens when the repository is not defined prior to being used. This could either mean you have to add the...
Read more >
Can I load common rules from a .bzl file? - Stack Overflow
As is, I get this error: ERROR: Failed to load Starlark extension '@rules_python//python:pip.bzl'. Cycle in the workspace file detected. ThisΒ ...
Read more >
platform/external/bazel-skylib - Git at Google
Skylib is a library of Starlark functions for manipulating collections, file paths, and various other data types in the domain of Bazel build...
Read more >
.bzl style guide | Bazel
This page covers basic style guidelines for Starlark and also includes information on macros and rules. Starlark is a language that defines how...
Read more >
Skylark - Buck
Instead, use the fail function to stop the evaluation of a build or extension file, and report an error. For example, instead of....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found