Skip to content

Commit

Permalink
adjusted resolution message
Browse files Browse the repository at this point in the history
  • Loading branch information
Vieltojarvi committed Dec 4, 2024
1 parent 92f5647 commit 1234ebb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/backend-deployer/src/cdk_error_mapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,7 @@ export class CdkErrorMapper {
errorRegex:
/EPERM: operation not permitted, rename (?<fileName>(.*)\/synth\.lock\.\S+) → '(.*)\/synth\.lock'/,
humanReadableErrorMessage: 'Not permitted to rename file: {fileName}',
resolutionMessage:
'Try running the command again and check that no other process has this file open and that you have the right permissions to rename this file',
resolutionMessage: `Try running the command again and ensure that only one instance of sandbox is running. If it still doesn't work check the permissions of '.amplify' folder`,
errorName: 'FilePermissionsError',
classification: 'ERROR',
},
Expand Down

0 comments on commit 1234ebb

Please sign in to comment.