#Next build error with firebase

1 messages · Page 1 of 1 (latest)

keen shadow
#

getting the below error while building the next application
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

gloomy yewBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

keen shadow
#

tried upgrading and downgrading the version, still getting the same error