OfficeDev / teams-toolkit

Developer tools for building Teams apps
Other
466 stars 192 forks source link

Getting error `Expected signal to be an instanceof AbortSignal.` #12560

Closed gabrielsanches closed 3 weeks ago

gabrielsanches commented 3 weeks ago

Describe the bug When I try to deploy using new version v5.10 of the extension is breaking on azureStorage/deploy. I've downgraded to v5.8.2 and it works just fine.

To Reproduce Steps to reproduce the behavior:

  1. Click on Deploy option in Teams Toolkit.
  2. Receiving error on third step (azureStorage/deploy)

Expected behavior No error during deploy with new version v5.10

VS Code Extension Information (please complete the following information):

Additional context Here is my yaml to deploy, failing trying to deploy bits to azure storage.

deploy:
  # Run npm command
  - uses: cli/runNpmCommand
    with:
      args: install
  # Run npm command
  - uses: cli/runNpmCommand
    env:
      REACT_APP_CLIENT_ID: ${{AAD_APP_CLIENT_ID}}
      REACT_APP_START_LOGIN_PAGE_URL: ${{TAB_ENDPOINT}}/auth-start.html
      REACT_APP_FUNC_NAME: getUserProfile
    with:
      args: run build --if-present
  # Deploy bits to Azure Storage Static Website
  - uses: azureStorage/deploy
    with:
      # Deploy base folder. This folder includes manifest files for AAD app and Teams app that should be ignored using the ignoreFile.
      artifactFolder: build
      # The resource id of the cloud resource to be deployed to
      resourceId: ${{TAB_AZURE_STORAGE_RESOURCE_ID}}
Siglud commented 3 weeks ago

Could you please provide us the log output from TTK to let us check the problem?

gabrielsanches commented 3 weeks ago

Do you mean the output? See if this can help... FYI TTK validations are all passing

TTK_error_output.log

Siglud commented 3 weeks ago

Sorry, there is a bug related to 5.10.0 because of the version of @azure/core-http has been changed.

I've created a fix to solve this problem. https://github.com/OfficeDev/teams-toolkit/pull/12583

gabrielsanches commented 3 weeks ago

Thanks for the support