here is what happend when you build @mapbox/mapbox-sdk with the old got version
ERROR #98124 WEBPACK
Generating SSR bundle failed
Can't resolve 'electron' in '{...}/node_modules/got'
If you're trying to use a package make sure that 'electron' is installed. If you're trying to use a local file make sure that the path is correct.
File: node_modules/got/index.js:91:20
not finished Building HTML renderer - 17.304s
… build and new version has electron removed
node -v v12.20.1 "gatsby": "^3.0.1", "react": "^17.0.1", "react-map-gl": "^6.1.11", "react-map-gl-geocoder": "^2.1.6",
here is what happend when you build @mapbox/mapbox-sdk with the old got version