-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dev server not able to resolve dependencies with PNPM #29455
Comments
Not running SSR, but HMR enabled (as default, and its working fine with angular 19.1.1 and latest cli) |
This seems like a bug but we'll need to look at a reproduction to find and fix the problem. Can you setup a minimal repro please? You can read here why this is needed. A good way to make a minimal repro is to create a new app via This might be related to your directory structure so its really important to get an accurate repro to diagnose this. |
here is a repro https://github.com/atsjo/ng-repro @alan-agius4 It's an issue when using pnpm, it works with npm... clone -> pnpm i -> ng serve |
adding
to dependencies solves the problem, then those libs are available top level in node_modules.... This also works to fix the problem in my original repo with lots of other deps, so there's probably some edge case with how angular-calendar includes these libs... |
Command
serve
Is this a regression?
The previous version in which this bug was not present was
Angular 19.1.1
Description
Local development not able to resolve som dependencies, see error message below... Downgrading angular to 19.1.1 fixes the problem (I can run with latest cli)
Minimal Reproduction
Test running ng:serve with a project using angular-calendar on windows...
Exception or Error
Your Environment
Anything else relevant?
Running windows...
The text was updated successfully, but these errors were encountered: