Skip to content

All Amplify CLI commands fail with EBUSY error after upgrade #12660

Open
@9037568

Description

@9037568

How did you install the Amplify CLI?

No response

If applicable, what version of Node.js are you using?

14.15.3

Amplify CLI Version

12.0.0

What operating system are you using?

Windows

Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.

No changes.

Describe the bug

After running amplify upgrade and successfully installing version 12.0.0, all attempts to run any amplify command generate the following error:

🛑 EBUSY: resource busy or locked, rmdir 'C:\Users\9037568.amplify\lib\amplify-dynamodb-simulator\emulator'

When I tried deleting that folder manually I got an error from the OS saying it was in use by another process, so I suspect the upgrade left something running, but I've been unable to identify what that is.

Expected behavior

Upgrade should not kill the CLI.

Reproduction steps

Upgrade.
Run any amplify command.

Project Identifier

Can't because all amplify commands fail.

Log output

# Put your logs below this line
2023-05-20T14:36:31.552Z|info : amplify upgrade core  
2023-05-20T14:36:31.586Z|info : amplify-cli-core.banner-message/index.ts.fetch banner messages from https://aws-amplify.github.io/amplify-cli/banner-message.json({}

Additional information

No response

Before submitting, please confirm:

  • I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
  • I have removed any sensitive information from my code snippets and submission.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmockIssues tied to the mock functionalityp2storageIssues tied to the storage categorywindowsIssues tied to running the CLI on Windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions