Next build error with firebase
Unanswered
Web3Warrior posted this in #help-forum
getting the below error while building the next application
for firebase authentication
Can anyone help me on this
for firebase authentication
./node_modules/@firebase/app/dist/esm/index.esm.js
export 'FirebaseError' (reexported as 'FirebaseError') was not found in '@firebase/util' (possible exports: default)
Import trace for requested module:
./node_modules/@firebase/app/dist/esm/index.esm.js
./node_modules/firebase/app/dist/index.mjs
./src/app/firebase.js
./src/app/admin/dashboard/page.jsx
./node_modules/@firebase/app/dist/esm/index.esm.js
Attempted import error: 'ErrorFactory' is not exported from '@firebase/util' (imported as 'ErrorFactory').
Import trace for requested module:
./node_modules/@firebase/app/dist/esm/index.esm.js
./node_modules/firebase/app/dist/index.mjs
./src/app/firebase.js
./src/app/admin/dashboard/page.jsx
./node_modules/@firebase/app/dist/esm/index.esm.js
Attempted import error: 'base64Decode' is not exported from '@firebase/util' (imported as 'base64Decode').
Import trace for requested module:
./node_modules/@firebase/app/dist/esm/index.esm.js
./node_modules/firebase/app/dist/index.mjs
./src/app/firebase.js
./src/app/admin/dashboard/page.jsx
./node_modules/@firebase/app/dist/esm/index.esm.js
Attempted import error: 'getDefaultAppConfig' is not exported from '@firebase/util' (imported as 'getDefaultAppConfig').
Import trace for requested module:
./node_modules/@firebase/app/dist/esm/index.esm.js
./node_modules/firebase/app/dist/index.mjs
./src/app/firebase.js
./src/app/admin/dashboard/page.jsx
./node_modules/@firebase/app/dist/esm/index.esm.js
Attempted import error: 'deepEqual' is not exported from '@firebase/util' (imported as 'deepEqual').
Import trace for requested module:
./node_modules/@firebase/app/dist/esm/index.esm.js
./node_modules/firebase/app/dist/index.mjs
./src/app/firebase.js
./src/app/admin/dashboard/page.jsx
Can anyone help me on this
2 Replies
tried upgrading and downgrading the version, still getting the same error
anyone?