mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
9918c81ca9
In @angular/ssr 22.2.0-next.7, beasties was made an external dependency rather than vendored internally. Because hoist: false is configured and preserveSymlinks is enabled, rules_js does not hoist beasties into adev/node_modules and dev-app/node_modules. This commit adds beasties as an explicit dependency for both adev and dev-app so that it can be resolved during bundling.
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