Comments (7)
I'm encountering this as well.
from angular-bazel-example.
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.
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.
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.
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.
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.
@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)
- Remove need for rxjs_shims HOT 2
- breakage on latest master? HOT 2
- node option about rollup_bundle
- How to enable remote execution with language servers for `TypeScriptCompile` and `AngularTemplateCompile` actions HOT 3
- What is the current state of Converting an Angular CLI workspace? HOT 1
- Question: index.html and injected js HOT 3
- Question: Debugging on upgrade HOT 2
- question: Experimental Support for Ivy in Bazel? HOT 2
- cannot be named without a reference to '../../external/npm/node_modules/@angular/animations/animations' HOT 3
- Service Worker HOT 3
- Remove ngfactory deps HOT 4
- Multiple Node Projects Single WORKSPACE FILE HOT 8
- Already install @bazel/ibazel but still not running on window HOT 4
- Cannot find nodejs when running bazel run //src:devserver HOT 2
- Cannot import with module_name only with path HOT 1
- cannot import with path mappings from tsconfig.json HOT 3
- Bazel + Ivy (--define=compile=aot) fails with TS-966002 HOT 5
- Using Bazel in Application using Library HOT 1
- importHelpers breaks ng test HOT 1
- Bazel errors when building targets with rxjs deps HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-bazel-example.