export 'default' (imported as 'Amplify') was not found in 'aws-amplify'

1

Get error after update export 'default' (imported as 'Amplify') was not found in 'aws-amplify'. Coud anyone suggest something?

gefragt vor einem Jahr2285 Aufrufe
1 Antwort
0

Amplify as a default export is deprecated and you would need to import it as a named export

import { Amplify } from ‘aws-amplify’

Could you please ensure that you are using the above correct syntax for the import ?

AWS
SUPPORT-TECHNIKER
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen