以下を試している際に
https://aws.amazon.com/jp/blogs/mobile/add-maps-to-your-app-in-3-steps-with-aws-amplify-geo/
reactでnpm start
時に以下のエラーが出る(export 'default' (imported as 'Amplify') was not found in 'aws-amplify')
export 'default' (imported as 'Amplify') was not found in 'aws-amplify'
以下のように{}
をつけることで解決した
https://github.com/aws-amplify/amplify-js/issues/10827#issuecomment-1366948142
import { Amplify } from 'aws-amplify'
import { Amplify } from 'aws-amplify';
参考