SDK 47: "eas update" failes with error related to source-maps

After I have upgraded my project to SDK 47, I’m observing that the command eas update fails with error:

Error: Invalid mapping: {“generated”:{“line”:1,“column”:180},“source”:…/…/node_modules/metro-config/node_modules/metro-runtime/src/polyfills/require.js
at SourceMapGenerator_validateMapping [as _validateMapping]
at SourceMapGenerator_addMapping [as addMapping]
at /…/…/node_modules/metro-source-map/src/composeSourceMaps.js:41:15
at MappingsConsumer.eachMapping

In your post, please share:

  • managed workflow
  • eas-cli version: eas-cli/2.6.0 darwin-arm64 node-v14.18.1