Closed jeremyputeaux closed 5 years ago
Those appear to be legitimate errors within aws-amplify-angular
. Properties accessed from a template are currently required to be public.
Same error..
We have found a solution. Look here: https://github.com/aws-amplify/amplify-js/issues/3620
More specifically, the fix is here: https://github.com/aws-amplify/amplify-js/issues/3620#issuecomment-510548246
Disabling the 'fullTemplateTypeCheck' in tsconfig.json (or in tsconfig-aot.json or similar depending on your setup)
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
π Bug report
Command (mark with an
x
)Is this a regression?
I don't know, I never tried to build before.
Description
I'm running a basic
ng build --prod
and I'm getting the following error:π¬ Minimal Reproduction
https://github.com/jeremyputeaux/angular8-amplify-aot-build-problem You just need:
npm i
andng build --prod
π₯ Exception or Error
π Your Environment
Anything else relevant? I'm using Window 10 and the WSL.