You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I added this theme in my project and everything works well when running gatsby develop.
But when running gatsby build, I get the following error:
WebpackError: TypeError: _firebase_app__WEBPACK_IMPORTED_MODULE_0___default.a.registerVersion is not a function
index.esm.js:23 Module../node_modules/firebase/app/dist/index.esm.js
node_modules/firebase/app/dist/index.esm.js:23:9
index.ts:1 Module../node_modules/gatsby-theme-firebase/src/firebase/index.ts
node_modules/gatsby-theme-firebase/src/firebase/index.ts:1:1
Form.tsx:1 Module../node_modules/gatsby-theme-firebase/src/components/Form.tsx
node_modules/gatsby-theme-firebase/src/components/Form.tsx:1:1
login.tsx:1 Module../node_modules/gatsby-theme-firebase/src/pages/login.tsx
node_modules/gatsby-theme-firebase/src/pages/login.tsx:1:1
Hey!
I added this theme in my project and everything works well when running gatsby develop.
But when running gatsby build, I get the following error:
Tried to npm install @firebase/app as suggested here: firebase/firebase-tools#1989 but it didn't helped.
Do you have any idea what is going wrong?
The text was updated successfully, but these errors were encountered: