amplify-hosting icon indicating copy to clipboard operation
amplify-hosting copied to clipboard

Missing acknowledge button for create new app with existing code

Open khinshankhan opened this issue 3 years ago • 29 comments

Before opening, please confirm:

App Id

No response

Region

No response

Amplify Console feature

No response

Describe the bug

Hitting the next button on creation prompts the page to give the red message "Please acknowledge" but there's nowhere to toggle acknowledgment.

Expected behavior

Can continue to create amplify app with existing code as outlined here https://docs.aws.amazon.com/amplify/latest/userguide/getting-started.html

Reproduction steps

  1. Open amplify home https://console.aws.amazon.com/amplify/home
  2. Hit get started under Host your web app
  3. Choose github
  4. Choose repository and branch
  5. Choose environment name
  6. Try hitting next button

Build Settings

version: 1
backend:
  phases:
    build:
      commands:
        - amplifyPush --simple
frontend:
  phases:
    preBuild:
      commands:
        - nvm install 15
        - yarn install
    build:
      commands:
        - echo "NEXT_PUBLIC_AMPLITUDE_API_KEY=$AMPLITUDE_API_KEY" >> .env
        - yarn build
  artifacts:
    baseDirectory: out
    files:
      - '**/*'
  cache:
    paths:
      - 'node_modules/**/*'
      - '*/node_modules/**/*'
      - '.next/cache/**/*'
test:
  phases:
    test:
      commands:
        - yarn test
  artifacts:
    baseDirectory: /
    configFilePath: jest.config.js
    files:
      - '**/*'

Additional information

image

khinshankhan avatar Dec 09 '21 17:12 khinshankhan

Hi :wave:, thanks for opening! While we look into this...

If this issue is related to custom domains, be sure to check the custom domains troubleshooting guide to see if that helps. Also, there is a more general troubleshooting FAQ that may be helpful for other questions.

Lastly, please make sure you've specified the App ID and Region in the issue!

github-actions[bot] avatar Dec 09 '21 17:12 github-actions[bot]

There's no app id to include, but for what it's worth, the region is us-east-1.

khinshankhan avatar Dec 09 '21 17:12 khinshankhan

Hi @kkhan01 Thanks for raising this issue. I was able to reproduce this bug and will bring this issue up to the team for prioritization.

ghost avatar Dec 13 '21 16:12 ghost

Any news ?? not being able to create new apps from existing code sounds like a high priority bug... any workarounds aside from deleting the existing amplify.yml ?

ValYouW avatar Aug 10 '22 11:08 ValYouW

Problem still not solved, I got the same today. The repo I'm working on is protected so I'm stuck at this point given that I have to push the yml file myself before..

NitroBoss avatar Aug 19 '22 12:08 NitroBoss

I was trying to troubleshoot the following issue but swapped step 6 and 5 which put me in this situation. https://github.com/aws-amplify/amplify-category-api/issues/606#issuecomment-1230856919

image

Only by deleting the amplify.yml let me continue.

image

joekiller avatar Sep 07 '22 22:09 joekiller

I experienced the same thing, @joekiller . removing amplify.yml entirely, then checking the box you indicated to proceed, then replacing amplify.yml was my workaround as well!

timatperfectco avatar Sep 07 '22 23:09 timatperfectco

Still an issue as of 30 September, had to use the same workaround described above

buildingthebear avatar Sep 30 '22 23:09 buildingthebear

still an issue 25 Oct 2022 - version 10.3

francoisharmse777 avatar Oct 25 '22 14:10 francoisharmse777

Still an issue as of 13 November

h-hmz avatar Nov 13 '22 16:11 h-hmz

Still an issue as of 5th December 2022... its been a year.. What is the priority of this fix and timetable?! Is this intended to work like this and is actually considered feature by now?!

ReimaLuoma avatar Dec 05 '22 07:12 ReimaLuoma

Also experienced this problem today.

adamlucia avatar Dec 06 '22 07:12 adamlucia

I experienced this issue 2 January 2023

179Bell avatar Jan 02 '23 00:01 179Bell

I experienced this 10 jan 2023.

TalosSources avatar Jan 10 '23 17:01 TalosSources

For anyone who wants to contribute in the future please understand that putting a thumbs up on the OP issue is the best way to register a +1 or me too/still exists as the team measures demand of an item via thumbs up.

joekiller avatar Jan 10 '23 23:01 joekiller

Still experiencing this today. This issue is 16 months old. Any word on a fix?

rajczi avatar Mar 02 '23 22:03 rajczi

Still seeing this in March of 2023. This is a high priority bug causing difficulty for our stage and prod deployment.

RileyNewellSlalom avatar Mar 02 '23 22:03 RileyNewellSlalom

Still seeing this in March of 2023. This is a high priority bug causing difficulty for our stage and prod deployment.

If you're getting blocked you should open a business support ticket.

joekiller avatar Mar 02 '23 22:03 joekiller

Hi Folks, apologies for the lack of updates here. The team has been tracking this issue internally for prioritization. Here are detailed steps for the workaround regarding this bug:

  1. remove amplify.yml file from your repository (we will add this back after the first deployment)
  2. Create a new Amplify application in the Amplify Console. You will see that Amplify may automatically generate a build script for your app. You can copy and paste the contents of your Amplify.yml file directly into the text editor before you proceed with the first deployment.
  3. After the initial deployment is successful, you can go back and add your amplify.yml file to the root of your repository and push a new commit. This will trigger a new deployment and that should be successful.

Please note the build script you added in step 2 will be saved under build settings for your app in the console. You can delete that if you wish to. However, the amplify.yml file in your repository will take precedence even if you leave that build script in the console.

Originally posted by @hloriii in https://github.com/aws-amplify/amplify-hosting/issues/2879#issuecomment-1192027194

ghost avatar Mar 23 '23 16:03 ghost

Here we are, May 11 2023. Still not fixed. The workaround, while it works, it's unacceptable. C'mon!

mardix avatar May 11 '23 06:05 mardix

Still an issue in Amplify v 12.4.0

I agree - this is not acceptable to use the workaround since this had been logged as a bug since end 2021

francoisharmse777 avatar Sep 04 '23 13:09 francoisharmse777

The initial aws responder who could replicate the issue has a deleted account now... I suppose we'll have to wait for another aws member to notice this issue 👀

khinshankhan avatar Sep 04 '23 14:09 khinshankhan

This issue is still present.

Tenkir avatar Jan 10 '24 23:01 Tenkir

We are struggling to repro the issue @Tenkir @khinshankhan @francoisharmse777 . Can you provide more repro steps?

swaminator avatar Jan 11 '24 20:01 swaminator

I will have to do some testing to determine minimum reproduction steps. However, I can let you know we're using a monorepo, and had an existing amplify.yml file in the monorepo.

Tenkir avatar Jan 11 '24 21:01 Tenkir

we no longer use amplify

francoisharmse777 avatar Jan 12 '24 07:01 francoisharmse777

I noticed that amplify had updated with GitHub integration to include access to amplify.yml. Perhaps that was the bug. Check your installed GitHub applications to see if there is a pending permission change that could help resolve this.

joekiller avatar Jan 21 '24 18:01 joekiller

Still an issue. Workaround is remove "amplify.yml" from repository and copy/paste it into the form.

vangj avatar Jan 24 '24 21:01 vangj

@vangj could you help us repro how you got into that scenario? We'd love to fix this issue but are struggling to repro this at our end.

swaminator avatar Jan 25 '24 00:01 swaminator