GithubHelp home page GithubHelp logo

Comments (2)

alexeagle avatar alexeagle commented on May 4, 2024 1

Hmm, looking at the script, it looks like this is because $KARMA is not set, so instead of running karma start we just run start

I think this is because of an issue with the yarn registry, where karma/bin/karma is missing in $(bazel info output_base)/external/build_bazel_rules_typescript_karma_deps/node_modules

Updating rules_typescript to 0.15.0 fixes it.

from angular-bazel-example.

mapx avatar mapx commented on May 4, 2024

The issue seems still block. The error turns to something like:

WARNING: no ibazel version found in your node_modules.
        We recommend installing a devDependency on ibazel so you use the same
        version as other engineers on this project.
        Using the globally installed version at /tmp/angular-bazel-example/node_modules/@bazel/ibazel
Querying for files to watch...
Error watching file /tmp/angular-bazel-example/tools/defaults/BUILD
Error: no such file or directory
Testing ...
INFO: Analysed 23 targets (0 packages loaded).
INFO: Found 21 targets and 2 test targets...
ERROR: /tmp/angular-bazel-example/src/BUILD.bazel:42:1: SkylarkAction src/bundle.js failed (Exit 2): tsc failed: error executing command
  (cd /home/user/.cache/bazel/_bazel_user/a3cee343d71b0f2101c79d88606a48aa/execroot/angular_bazel_example && \
  exec env - \
  bazel-out/host/bin/external/build_bazel_rules_nodejs/internal/rollup/tsc --target es5 --allowJS bazel-out/k8-dbg/bin/src/bundle.es6.js --outFile bazel-out/k8-dbg/bin/src/bundle.js)
../../../../../../../../tmp/angular-bazel-example/node_modules/@types/selenium-webdriver/remote.d.ts(139,29): error TS2304: Cannot find name 'Map'.
INFO: Elapsed time: 9.923s, Critical Path: 9.20s
INFO: 0 processes.
FAILED: Build did NOT complete successfully
//src/hello-world:test_chromium-local                                 NO STATUS
//src/hello-world:test_firefox-local                                  NO STATUS

FAILED: Build did NOT complete successfully

from angular-bazel-example.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.