additional_root_paths in ts_devserver should contain workspace name
See original GitHub issueπ bug report
Affected Package
This issue is caused by package @angular/bazel
Is this a regression?
No
Description
Creating a regular Angular CLI Project with Routing Enabled and SCSS Selected for Styles doesnβt serve up after adding @angular/bazel
π¬ Minimal Reproduction
npm i -g @angular/cli@next
ng new bazel-angular
ng add @angular/bazel@next
ng serve
π₯ Exception or Error
π Your Environment
Angular Version:
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ β³ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 9.0.0-rc.12
Node: 12.11.1
OS: win32 x64
Angular: 9.0.0-rc.14
... animations, bazel, common, compiler, compiler-cli, core
... forms, language-service, platform-browser
... platform-browser-dynamic, router
Ivy Workspace: Yes
Package Version
------------------------------------------------------
@angular-devkit/architect 0.900.0-rc.12
@angular-devkit/core 9.0.0-rc.12
@angular-devkit/schematics 9.0.0-rc.12
@angular/cli 9.0.0-rc.12
@bazel/bazel 2.0.0
@bazel/bazel-win32_x64 2.0.0
@bazel/hide-bazel-files 1.2.4
@bazel/ibazel v0.10.3
@bazel/karma 1.2.2
@bazel/protractor 1.2.2
@bazel/rollup 1.2.2
@bazel/terser 1.2.2
@bazel/typescript 1.2.2
@schematics/angular 9.0.0-rc.12
@schematics/update 0.900.0-rc.12
rxjs 6.5.4
typescript 3.7.5
Anything else relevant?
This is probably related to https://github.com/angular/angular/issues/35114
Iβm using a Windows Machine
Issue Analytics
- State:
- Created 4 years ago
- Comments:15 (14 by maintainers)
Top Results From Across the Web
ts_project with webpack devserver? Β· Issue #2867 Β· bazelbuild ...
I am trying to configure a ts_project target into a webpack dev server, however due to ts_project deleting the output before it runs...
Read more >How to use VS Code debugger with webpack-dev-server ...
js so I had to add '/app' to the 'webRoot' key. These are my settings. ` "configurations": [ { "type": "chrome", "request": "attach",...
Read more >jsconfig.json Reference - Visual Studio Code
In more complex projects, you may have more than one jsconfig.json file defined inside a workspace. You will want to do this so...
Read more >TypeScript rules for Bazel - Google Git
Bazel's TypeScript compiler has your workspace path mapped, so you can import from an absolute path starting from your workspace. /WORKSPACE : workspace(name...
Read more >Angular workspace configuration
The default paths point to the project's icon file and its assets directory. See more in the Assets configuration section. An array of...
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 Free
Top 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
Yes it is a windows only issue and I have reported it here: https://github.com/bazelbuild/bazel-watcher/issues/342
Did you run
ng serve --leaveBazelFilesOnDisk
and amended the build file manually?