ng new with bazel doesn't work
See original GitHub issue🐞 Bug report
Command (mark with an x
)
- [ x] new
- [ ] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc
Is this a regression?
I didn’t testing previous version of CLI/Bazel.
Description
I tried to create new application with integration of Bazel but it not works in the beginning (without Bazel within Ivy is working well)
🔬 Minimal Reproduction
ng new my-app --collection=@angular/bazel --enable-ivy
🔥 Exception or Error
Schematic input does not validate against the Schema: {"enableIvy":true,"name":"my-app --collection=@angular/bazel","version":"8.1.0-beta.2","routing":true,"style":"scss"}
Errors:
Data path ".name" should match format "html-selector".
🌍 Your Environment
Angular CLI: 8.1.0-beta.2
Node: 12.4.0
OS: darwin x64
Angular:
...
Package Version
------------------------------------------------------
@angular-devkit/architect 0.801.0-beta.2
@angular-devkit/core 8.1.0-beta.2
@angular-devkit/schematics 8.1.0-beta.2
@schematics/angular 8.1.0-beta.2
@schematics/update 0.801.0-beta.2
rxjs 6.4.0
NodeJS v12.4.0
NPM v6.9.0
MacOS v10.14.5
Anything else relevant?
I tried uninstall @angular/cli + @angular/bazel and then install back with @next suffix on both of them, but still it doesn’t work.
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (3 by maintainers)
Top Results From Across the Web
Why does Angular CLI 9.01 fails to create a bazel project?
I erease Node and Angular from my machine, and re-installed them from scratch. The, I followed these instructions to create a new ng...
Read more >How to Try Angular CLI with Bazel | by Suguru Inatomi - Medium
Run application with Bazel ... To run Angular application, just execute ng serve . ng serve command without --prod runs ts_devserver target defined...
Read more >Angular <3 Bazel - International JavaScript Conference
Bazel promises a new, better and faster way to build a project. It doesn't necessarily have to be an Angular or TypeScript project,...
Read more >Angular ❤️ Bazel leaving Angular Labs - DEV Community
The short answer is: we are spinning off the Bazel effort to be independent of Angular, and to work for ALL frontend frameworks...
Read more >Build your Angular application with Bazel | Ninja Squad
Then when you run a command, Bazel builds a task graph, and only runs the ... ng new bazel-project --defaults --collection=@angular/bazel.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@striky1, your problem is due to a hairline space which is in your command, and node is unable to separate the args properly.
Try using this command
ng new my-app --collection=@angular/bazel
Yes, the Bazel schematics does not support Ivy yet. I’ve created a JIRA work item to look into this.