angular / angular

Deliver web apps with confidence 🚀
https://angular.dev
MIT License
96.08k stars 25.43k forks source link

angular-in-memory-web-api Angular 14 support #46332

Closed spierala closed 2 years ago

spierala commented 2 years ago

Currently it is not possible to use angular-in-memory-web-api with Angular 14.

The latest angular-in-memory-web-api version has Angular 13 peer dependencies (see here: https://github.com/angular/angular/blob/main/packages/misc/angular-in-memory-web-api/package.json#L8-L9).

This is the error when running npm i:

image

I can get around the error locally with npm i --force but the CI runs npm ci and then the error is back.

It would be great if Angular 14 support could be added. Thanks.

Environment

These are the Angular versions:

"@angular/animations": "14.0.1", "@angular/common": "14.0.1", "@angular/compiler": "14.0.1", "@angular/core": "14.0.1", "@angular/forms": "14.0.1", "@angular/platform-browser": "14.0.1", "@angular/platform-browser-dynamic": "14.0.1", "@angular/router": "14.0.1",

"@angular/cli": "~14.0.0", "@angular/compiler-cli": "14.0.1", "@angular/language-service": "14.0.1",

I am using NX workspace:

"@nrwl/angular": "14.2.4",

bthharper commented 2 years ago

Same issue for me, preventing ng14 upgrade.

angular-automatic-lock-bot[bot] commented 2 years ago

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.