angular-in-memory-web-api not compatible with Angular 15

This issue has been created since 2022-11-23.

Which @angular/* package(s) are the source of the bug?

Don't known / other

Is this a regression?

No

Description

Cannot install packages due to incompatibility of angular-in-memory-web-api with Angular 15

Please provide a link to a minimal reproduction of the bug

No response

Please provide the exception or error you saw

npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: @angular/[email protected]
npm ERR! node_modules/@angular/common
npm ERR!   @angular/[email protected]"^15.0.1" from the root project
npm ERR!   peer @angular/[email protected]"^15.0.0 || ^16.0.0" from @angular/[email protected]
npm ERR!   node_modules/@angular/cdk
npm ERR!     @angular/[email protected]"^15.0.0" from the root project
npm ERR!     peer @angular/[email protected]"15.0.0" from @angular/[email protected]
npm ERR!     node_modules/@angular/material
npm ERR!       @angular/[email protected]"^15.0.0" from the root project
npm ERR!   8 more (@angular/fire, @angular/forms, @angular/material, ...)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/[email protected]"^14.0.0" from [email protected]
npm ERR! node_modules/angular-in-memory-web-api
npm ERR!   [email protected]"^0.14.0" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: @angular/[email protected]
npm ERR! node_modules/@angular/common
npm ERR!   peer @angular/[email protected]"^14.0.0" from [email protected]
npm ERR!   node_modules/angular-in-memory-web-api
npm ERR!     [email protected]"^0.14.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

Please provide the environment you discovered this bug in (run ng version)

Angular CLI: 15.0.0
Node: 18.12.0
Package Manager: npm 8.19.2
OS: darwin x64

Angular: 15.0.1
... animations, common, compiler, compiler-cli, core, forms
... localize, platform-browser, platform-browser-dynamic
... platform-server, router, service-worker

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1500.0
@angular-devkit/build-angular   15.0.0
@angular-devkit/core            15.0.0
@angular-devkit/schematics      15.0.0
@angular/cdk                    15.0.0
@angular/cli                    15.0.0
@angular/fire                   7.5.0
@angular/material               15.0.0
@schematics/angular             15.0.0
rxjs                            7.5.7
typescript                      4.8.4

Anything else?

No response

AndrewKushnir wrote this answer on 2022-11-23

(internal note: we'd need to update FW package versions similar to #46344, release a new version of the angular-in-memory-web-api npm package and after that update all references to use that new version)

More Details About Repo
Owner Name angular
Repo Name angular
Full Name angular/angular
Language TypeScript
Created Date 2014-09-18
Updated Date 2022-12-01
Star Count 85220
Watcher Count 3042
Fork Count 22607
Issue Count 1316

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
[Feature request] Add volume button scroll amount 0 2022-10-10 2022-11-10
--dryRun option of julieOps does not detect schema changes & compatability with schema registry. 3 2022-02-15 2022-10-20
Fichas de usuários para Pagamentos, como trabalhar com essa limitação? 1 2021-06-23 2022-11-18
venv needs to be recreated/regenerated when migrating to bullseye 5 2022-03-10 2022-07-15
Change url break installation and don't restore properly if it failed 3 2022-02-18 2022-07-15
🐞 - `InputRange` with `TUI_NUMBER_FORMAT.thousandSeparator` = `,` 0 2022-03-03 2022-10-22
tox4: ConsoleZ does not show report colors 4 2022-02-02 2022-10-13
`README.md` formatter example 1 2022-01-21 2022-08-17
Need a help About Saving notifications. 1 2022-07-06 2022-11-13
Quickstart does not function 0 2022-06-08 2022-11-23
ldd is broken in default install (missing dependency on bash) 5 2021-11-29 2022-11-05
Workflow: Dropdown always returns default value when empty item is selected 1 2022-01-19 2022-11-23
Retiren el footer 1 2021-10-10 2022-01-14
Add Null Safety 1 2021-10-04 2022-01-14
Freenode - apparently some sort of hostile coporate takeover (?) 3 2021-05-19 2022-11-23
DLLImport unable to load library 2 2021-08-18 2022-11-10
System.BadImageFormatException: Method with open type while not compiling gshared 1 2022-02-25 2022-11-22
geemap.ee_to_geopandas allow more than 5,000 features 1 2022-10-15 2022-11-22
Markers with different shapes 6 2022-10-13 2022-11-22
Incomplete sentence on Tasks/End Users/Manage Installations v1.0.0 doc site 3 2022-04-21 2022-11-27
[Nightly test] Long_running_many_ppo is failing 4 2022-07-19 2022-09-28
Network online test using https broken 2 2022-04-18 2022-10-30
[Enhancement] Adapt the summary text in the product management form. 0 2022-11-24 2022-11-30
[Enhancement]: remove duplicated text in the snackbar message after publishing a product. 0 2022-11-24 2022-11-30
Update documentation 2 2019-09-24 2022-10-03
Build fails with 404 errors because bazel doesn't follow redirects 4 2021-08-11 2022-11-22
Import from monsieur-cuisine.com 2 2021-12-26 2022-10-10
a bug about variable scope 2 2021-10-21 2022-11-10
Probe Auth token text overflows the modal 0 2021-07-08 2022-11-21
Feature request: Store passwords 5 2020-05-19 2022-11-11
Performance drop in gateway service with many JWT providers 4 2021-06-02 2022-10-22
Tests: Run tests that can be run in parallel in parallel 10 2021-10-15 2022-08-25
Native extensions using Ruby C API fail to link with newer GCCs 0 2021-03-10 2022-11-26
Review remaining possibly end-of-life JAR files 0 2022-07-27 2022-11-19
[rsp api] [local server] Add browse button into the forms (crc as one example) and open up native/whatever dialog to browse for files 3 2020-12-14 2022-11-12
CI/CD pipeline should capture crash dump if unit test hits failure and upload dump 0 2021-08-21 2022-10-10
Windows 10 binary - .NET Framework 5.0.0 not found (5.0.11 installed) 1 2021-10-17 2022-10-07
CDK: check SCP (service control policies) as you type 0 2022-06-02 2022-11-20
[BUG]循环控制器读取csv,控制内部循环2次,控制器下边平级的接口接着读取csv参数,读取是第二条数据,不是第三条 2 2022-02-24 2022-11-19
Question: ...Can't run command "archivebox update -t timestamp..." 1 2021-11-07 2022-10-02
strange error where if there is an import error in one file then all other type errors will be ignored during react start 3 2021-10-14 2022-10-08
Collision is defined twice in `nav.py` and other questions 4 2021-06-16 2022-11-23
Bump Asciidoctorj-pdf to v1.6.0 0 2021-07-06 2022-11-04
evalution threshold out of bound 1 2020-06-18 2022-11-29
Failed to correctly represent intentions in Consul UI 4 2022-09-29 2022-11-16
OpenTelemetry tracing support to extend observability 2 2022-11-15 2022-11-22
libselinux-python had been renamed in recent RHEL 6 2020-02-07 2022-09-28
Daily Failure Change rate is not reflecting in Grafana Dashboard [CI/CD is Gitlab] 1 2022-03-28 2022-11-13
No information on how to install/use this. 4 2021-02-04 2022-11-12
How to get blob service_url in Javascript 1 2022-05-31 2022-10-31