Bug Fix: export 'Auth' (imported as 'Auth') was not found in 'aws-amplify'

1. Problem

  • line 8: even though the code is there, the frontend container would still through the undefined error:

2. Analysis

  • It turns out, the upgraded version of Amplify was out. It's been more than 6 months since this Week 3 phase of development was out. As I'm starting all over again, I automatically got the latest version of 6.x.x when I ran npm i.

3. Solution

4. Result

  • Amplify works correctly so throws the corresponding error correctly in the frontend.

    • The Dev console error was gone.

Last updated