Skip to content
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

example app can't be built #131

Open
jcesarmobile opened this issue Oct 20, 2022 · 1 comment
Open

example app can't be built #131

jcesarmobile opened this issue Oct 20, 2022 · 1 comment
Labels
good first issue Good for newcomers

Comments

@jcesarmobile
Copy link
Contributor

The example app has a mix of angular 7 and angular 12 dependencies which conflict with each other.
Also uses @ionic/angular 4.x, which is not compatible with angular 12

It's not possible to install on npm 7+ because of peer dependencies.
If you install with npm install --force or use npm 6, it installs, but then npm run build fails with multiple errors.

@ap1969
Copy link

ap1969 commented Jan 11, 2023

Confirmed, same problem:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: @angular/[email protected]
npm ERR! node_modules/@angular/core
npm ERR!   @angular/core@"^12.0.4" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/core@"7.2.16" from @angular/[email protected]
npm ERR! node_modules/@angular/http
npm ERR!   @angular/http@"^7.2.2" 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.

@stewones stewones added the good first issue Good for newcomers label Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants