aws-samples / aws-serverless-workshops

Code and walkthrough labs to set up serverless applications for Wild Rydes workshops
http://wildrydes.com
Apache License 2.0
4.17k stars 2.6k forks source link

Amplify init fails with DeprecationWarning: Invalid 'main' field for cloudform #320

Open jpb-Cloudy-McCloudFace opened 2 years ago

jpb-Cloudy-McCloudFace commented 2 years ago

Running amplify init as part of the User Management section of the Web Application lab on Cloud9 fails with a depreciation error. It is because of this bug with the Amplify CLI package: https://github.com/aws-amplify/amplify-cli/issues/9939

Installing a specific earlier version of the package allows the workshop to continue:

npm install -g @aws-amplify/cli@7.6.22