Closed barbalex closed 3 years ago
I updated firebase from 9.2.0 to 9.3.0 in this project: https://github.com/barbalex/vermehrung
{ "dependencies": { "firebase": "9.2.0", } }
to:
{ "dependencies": { "firebase": "9.3.0", } }
produced this error in a gatsby app when running gatsby build:
gatsby build
$ yarn build yarn run v1.22.15 $ gatsby clean && gatsby build && copyfiles .vercel/* public && copyfiles vercel.json public && copyfiles assetlinks.json public/.well-known info Deleting .cache, public, C:\Users\alexa\vermehrung\node_modules\.cache\babel-loader, C:\Users\alexa\vermehrung\node_modules\.cache\terser-webpack-plugin info Successfully deleted directories success open and validate gatsby-configs, load plugins - 1.451s success onPreInit - 0.004s success initialize cache - 0.076s success copy gatsby files - 0.230s success Compiling Gatsby Functions - 0.568s success onPreBootstrap - 0.591s success createSchemaCustomization - 0.019s success Checking for changed pages - 0.002s success source and transform nodes - 1.586s info Writing GraphQL type definitions to C:/Users/alexa/vermehrung/.cache/schema.gql success building schema - 0.493s success createPages - 0.075s success createPagesStatefully - 0.101s info Total nodes: 196, SitePage nodes: 38 (use --verbose for breakdown) success Checking for changed pages - 0.001s success onPreExtractQueries - 0.002s success extract queries from components - 7.612s success write out redirect data - 0.242s success Build manifest and related icons - 0.130s success onPostBootstrap - 0.139s info bootstrap finished - 16.290s success write out requires - 0.017s success Building production JavaScript and CSS bundles - 99.318s ⠧ Building Rendering Engines <w> [webpack.cache.PackFileCacheStrategy] Serializing big strings (2620kiB) impacts deserialization performance (consider using Buffer instead and decode when needed) <w> [webpack.cache.PackFileCacheStrategy] Serializing big strings (2620kiB) impacts deserialization performance (consider using Buffer instead and decode when needed) success Building Rendering Engines - 35.437s ERROR #98123 WEBPACK Generating SSR bundle failed export 'registerVersion' (imported as 'registerVersion') was not found in '@firebase/app' (module has no exports) File: node_modules\firebase\app\dist\index.mjs:23:0
I think this is an app issue, not an auth issue
I reverted to v9.2.0. Later tried upgrading to v9.3.0 again. And the error did not reappear. So it seems this is not repeatable. Closing.
Describe your environment
Describe the problem
Steps to reproduce:
I updated firebase from 9.2.0 to 9.3.0 in this project: https://github.com/barbalex/vermehrung
Relevant Code:
to:
produced this error in a gatsby app when running
gatsby build
: