erdkse / adminlte-3-angular

Angular 18.0.0 start-up project with AdminLTE 3.2.0 template
https://erdkse.com/projects/preview/adminlte-angular
MIT License
240 stars 193 forks source link

Login error #59

Open cgarrotti opened 1 month ago

cgarrotti commented 1 month ago

Firebase: Error (auth/auth-domain-config-required).

i up the npm run firebase:start but give the error: Firebase: Error (auth/auth-domain-config-required).

Server is running on http://localhost:9099/ as we can see:

{ "authEmulator": { "ready": true, "docs": "https://firebase.google.com/docs/emulator-suite", "apiSpec": "/emulator/openapi.json" } }

DarlingChavez commented 1 month ago

this command -> npm run firebase:start

produces this error ->

adminlte@0.3.3 firebase:start firebase emulators:start

/home/user/source/adminlte-3-angular-main/node_modules/inquirer-autocomplete-prompt/index.js:11 const Base = require('./../inquirer/lib/prompts/base'); ^

Error [ERR_REQUIRE_ESM]: require() of ES Module /home/user/source/adminlte-3-angular-main/node_modules/inquirer/lib/prompts/base.js from /home/user/source/adminlte-3-angular-main/node_modules/inquirer-autocomplete-prompt/index.js not supported. Instead change the require of base.js in /home/user/source/adminlte-3-angular-main/node_modules/inquirer-autocomplete-prompt/index.js to a dynamic import() which is available in all CommonJS modules. at Object. (/home/user/source/adminlte-3-angular-main/node_modules/inquirer-autocomplete-prompt/index.js:11:14) { code: 'ERR_REQUIRE_ESM' }

Node.js v20.17.0

erdkse commented 1 month ago

hey thank you for pointing this issue, I will check and inform you guys here