mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
In the context of AOT tests, component with defer blocks no longer throw on instanciation if the component is not overridden (with `overrideComponent`) Prior to this change, all components with a `@defer` block would throw if `compileComponents` was not invoked. In none-JIT apps, this change makes `compileComponents()` uneccesary. |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| angular.json | ||
| BUILD.bazel | ||
| package.json | ||
| README.md | ||
| tsconfig.app.json | ||
| tsconfig.json | ||
| tsconfig.spec.json | ||
Angular dev-app
For experimentation while developing Angular.
Local Development
For local development, pnpm is the preferred package manager. You can set up a local environment with the following commands:
# Clone Angular repo
git clone https://github.com/angular/angular.git
# Navigate to project directory
cd angular
# Install dependencies
pnpm install
# Build and run local dev server
# NOTE: Initial build will take some time
pnpm dev
FAQs
The build is failing and I'm seeing bazel:bazel failed: missing input file messages.
This is most likely due to a bazel dependency / caching issue. To resolve this, run the following command:
# Try this first
pnpm bazel clean
# If that doesn't work, try it with the expunge flag
pnpm bazel clean --expunge