Giter Club home page Giter Club logo

Comments (7)

sconover avatar sconover commented on May 4, 2024

I'm encountering this as well.

from angular-bazel-example.

alexeagle avatar alexeagle commented on May 4, 2024

Looks like you forgot the step yarn add -D @bazel/typescript - the build_bazel_rules_typescript currently comes from npm.

Note we are changing that right now, hopefully the new setup will be easier since the Bazel build will be independent of whether you've installed local node_modules dependencies or not.

from angular-bazel-example.

sconover avatar sconover commented on May 4, 2024

I'm a little confused as to what installation instructions you're referring to, or that I should be using. I've followed the README, faithfully (I think!), have tried both the npm and yarn options, and am getting output like

ERROR: error loading package '': Encountered error while reading extension file 'package.bzl': no such package '@build_bazel_rules_typescript//': No WORKSPACE file found in /private/var/tmp/_bazel_sc/3b156e1e3b5203eea87cba35315dc51b/external/build_bazel_rules_typescript

when I run bazel build //.... Also I'm not seeing the step you reference (yarn add -D @bazel/typescript) in the README. Could you please point me to the proper installation steps?

from angular-bazel-example.

stevermeister avatar stevermeister commented on May 4, 2024

@alexeagle

I've created shell script with all the file manipulations
https://gist.github.com/stevermeister/50daee571e996998974934a33ec2c6c7

and after all I still have the same error

from angular-bazel-example.

stevermeister avatar stevermeister commented on May 4, 2024

@alexeagle @sconover

it looks like a find an issue.
I have to downgraded:
"@bazel/typescript": "0.17.0",

by default

"@bazel/typescript": "0.19.1",

has been installed. and that was the case of the issue

from angular-bazel-example.

alexeagle avatar alexeagle commented on May 4, 2024

the @bazel/typescript JS package should look to see that you have the matching version of the rules_typescript bazel package and give an informative error. Sorry the error messaging didn't keep you on the working path here.
Is your problem solved now?

from angular-bazel-example.

stevermeister avatar stevermeister commented on May 4, 2024

@alexeagle this issue solved, but now I have another error.

could you try yourself this script?
gist.github.com/stevermeister/50daee571e996998974934a33ec2c6c7

it's basically implementation of all instructions provided in your manual

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.