Encountering a challenging compiler error, I am determined to find a solution. Despite numerous attempts to install different library versions, the issue persists.
It appears that the firebaseui-angular package necessitates an alternative angular/fire version?
[05:14:00]: ▸ npm ERR! code ERESOLVE
[05:14:00]: ▸ npm ERR! ERESOLVE could not resolve
[05:14:00]: ▸ npm ERR!
[05:14:00]: ▸ npm ERR! While resolving: @angular/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="9fecfaede9f6fcfab2e8f0edf4faeddfa7b1adb1aeab">[email protected]</a>
[05:14:00]: ▸ npm ERR! Found: @angular/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="e98a8684848687a9d1c7dbc7d8da">[email protected]</a>
[05:14:00]: ▸ npm ERR! node_modules/@angular/common
[05:14:00]: ▸ npm ERR! @angular/common@"8.2.13" from the root project
[05:14:00]: ▸ npm ERR! peer @angular/common@">=6.0.0 <9 || ^9.0.0-0" from @angular/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="016768736441342f352f33">[email protected]</a>
[05:14:00]: ▸ npm ERR! node_modules/@angular/fire
[05:14:00]: ▸ npm ERR! @angular/fire@"^5.2.3" from the root project
[05:14:00]: ▸ npm ERR! peer @angular/fire@"^5.0.0" from <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="06606f746364677563736f2b676861736a6774463228372836">[email protected]</a>
[05:14:00]: ▸ npm ERR! node_modules/firebaseui-angular
[05:14:00]: ▸ npm ERR! firebaseui-angular@"^4.0.1" from the root project
[05:14:00]: ▸ npm ERR! 5 more (@angular/forms, @angular/platform-browser, ...)
[05:14:00]: ▸ npm ERR!
[05:14:00]: ▸ npm ERR! Could not resolve dependency:
[05:14:00]: ▸ npm ERR! peer @angular/common@"8.2.14" from @angular/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="483b2d3a3e212b2d653f273a232d3a0870667a66797c">[email protected]</a>
[05:14:00]: ▸ npm ERR! node_modules/@angular/service-worker
[05:14:00]: ▸ npm ERR! @angular/service-worker@"~8.2.13" from the root project
[05:14:00]: ▸ npm ERR!
[05:14:00]: ▸ npm ERR! Conflicting peer dependency: @angular/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="6a0905070705042a524458445b5e">[email protected]</a>
[05:14:00]: ▸ npm ERR! node_modules/@angular/common
[05:14:00]: ▸ npm ERR! peer @angular/common@"8.2.14" from @angular/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="2e5d4b5c58474d4b0359415c454b5c6e16001c001f1a">[email protected]</a>
[05:14:00]: ▸ npm ERR! node_modules/@angular/service-worker
[05:14:00]: ▸ npm ERR! @angular/service-worker@"~8.2.13" from the root project
[05:14:00]: ▸ npm ERR!
[05:14:00]: ▸ npm ERR! Fix the upstream dependency conflict, or retry
[05:14:00]: ▸ npm ERR! this command with --force, or --legacy-peer-deps
[05:14:00]: ▸ npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
This is my current environment status according to 'ionic info'.
[WARN] Error loading @ionic/angular package.json: Error: Cannot find module '@ionic/angular/package'
Require stack:
- C:\Users\ginil\AppData\Roaming\npm\node_modules\@ionic\cli\lib\project\index.js
- C:\Users\ginil\AppData\Roaming\npm\node_modules\@ionic\cli\lib\index.js
- C:\Users\ginil\AppData\Roaming\npm\node_modules\@ionic\cli\index.js
- C:\Users\ginil\AppData\Roaming\npm\node_modules\@ionic\cli\bin\ionic
[WARN] Error loading @ionic/angular-toolkit package.json: Error: Cannot find module
'@ionic/angular-toolkit/package'
Require stack:
- C:\Users\ginil\AppData\Roaming\npm\node_modules\@ionic\cli\lib\project\index.js
- C:\Users\ginil\AppData\Roaming\npm\node_modules\@ionic\cli\lib\index.js
- C:\Users\ginil\AppData\Roaming\npm\node_modules\@ionic\cli\index.js
- C:\Users\ginil\AppData\Roaming\npm\node_modules\@ionic\cli\bin\ionic
[WARN] Error loading @angular/cli package.json: Error: Cannot find module '@angular/cli/package'
Require stack:
- C:\Users\ginil\AppData\Roaming\npm\node_modules\@ionic\cli\lib\project\index.js
- C:\Users\ginil\AppData\Roaming\npm\node_modules\@ionic\cli\lib\index.js
- C:\Users\ginil\AppData\Roaming\npm\node_modules\@ionic\cli\index.js
- C:\Users\ginil\AppData\Roaming\npm\node_modules\@ionic\cli\bin\ionic
[WARN] Error loading @angular-devkit/build-angular package.json: Error: Cannot find module
'@angular-devkit/build-angular/package'
Require stack:
- C:\Users\ginil\AppData\Roaming\npm\node_modules\@ionic\cli\lib\project\index.js
- C:\Users\ginil\AppData\Roaming\npm\node_modules\@ionic\cli\lib\index.js
- C:\Users\ginil\AppData\Roaming\npm\node_modules\@ionic\cli\index.js
- C:\Users\ginil\AppData\Roaming\npm\node_modules\@ionic\cli\bin\ionic
[WARN] Error loading @angular-devkit/schematics package.json: Error: Cannot find module
'@angular-devkit/schematics/package'
Require stack:
- C:\Users\ginil\AppData\Roaming\npm\node_modules\@ionic\cli\lib\project\index.js
- C:\Users\ginil\AppData\Roaming\npm\node_modules\@ionic\cli\lib\index.js
- C:\Users\ginil\AppData\Roaming\npm\node_modules\@ionic\cli\index.js
- C:\Users\ginil\AppData\Roaming\npm\node_modules\@ionic\cli\bin\ionic
Ionic:
Ionic CLI : 6.20.4 (C:\Users\ginil\AppData\Roaming\npm\node_modules\@ionic\cli)
Ionic Framework : not installed
@angular-devkit/build-angular : not installed
@angular-devkit/schematics : not installed
@angular/cli : not installed
@ionic/angular-toolkit : not installed
Cordova:
Cordova CLI : 11.0.0
Cordova Platforms : android broken
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, cordova-plugin-ionic 5.5.3, (and 24 other plugins)
Utility:
cordova-res : 0.15.4
native-run : not installed globally
System:
NodeJS : v16.13.2 (C:\Program Files\nodejs\node.exe)
npm : 8.1.2
OS : Windows 10
Reviewing my 'config.json' file:
{
"name": "diocese-giving-app",
"version": "0.0.0",
"description": "Diocese Giving App",
"author": "Ionic Team <<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="0f67664f666061666c697d6e626a78607d64216c6062">[email protected]</a>>",
"license": "Apache-2.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
"copy.google.ios": "cp GoogleService-Info.plist ios/App/App/GoogleService-Info.plist",
"copy.google.android": "cp google-services.json android/app/google-services.json",
"build": "ng build --prod",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e",
"postinstall": "webdriver-manager update --standalone false --gecko false"
},
"repository": {
"type": "git",
"url": "https://github.com/ionic-team/ionic-conference-app.git"
},
"private": true,
"dependencies": {
// Your dependencies here
},
"devDependencies": {
// Your dev dependencies here
},
"cordova": {
"platforms": [
"ios",
"android"
],
"plugins": {
// Your plugins configuration here
}
}
}