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
undefinederror:
2. Analysis
It turns out, the upgraded version of
Amplifywas 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 rannpm 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