- Newest
- Most votes
- Most comments
I was experiencing the same problem and just figured it out myself. Sign in to AWS and go to the Amplify page. Under "App settings" on the left-side navigation pane, go to "Build settings". Scroll down to the "Build image settings" section and click the Edit button. A window will pop up, under the "Live package updates" section click on the "Add package version override" dropdown and select Amplify CLI. You can try matching it to your current CLI version or leave it set to "latest", and click Save. Now you can go to your Amplify project, click on any icon in the pipeline chart (Provision - Build - Deploy - Verify) and in the top right of the page click on the "Redeploy this version" button.
Steps for configuring live package updates can also be found here.
You may also try the following command that worked for me :
sudo npm install -g @aws-amplify/cli --unsafe-perm=true
Relevant content
- asked 6 months ago
- asked 2 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 6 months ago