You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think if you don't pass the packagerManager option, the NodePackageInstallTask task should use the package manager configured in the angular.json file, right?
The text was updated successfully, but these errors were encountered:
FabienDehopre
changed the title
ng-add forcely use NPM to install the dependencies even when another package manager is configured in angular.json
ng-add forces use of NPM to install dependencies even when another package manager is configured in angular.json
Jan 10, 2025
When you install the package using
ng add @testing-library/angular
and you have configured another package manager than NPM, the install phase fails.In the code of the ng-add schematics, the
packageManager
has a default value set to "npm".angular-testing-library/projects/testing-library/schematics/ng-add/index.ts
Line 35 in e0cd81e
I think if you don't pass the
packagerManager
option, theNodePackageInstallTask
task should use the package manager configured in the angular.json file, right?The text was updated successfully, but these errors were encountered: