You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
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.
App Id
d39mjfc3kkuapk
AWS Region
eu-central-1
Amplify Hosting feature
Deployments
Describe the bug
I have an existing amplify app for my dev backend. That env works fine.
If I add a new 'test' amplify env using amplify env add. I cannot deploy it because it fails with the error:
Packaging lambda function failed with the error
Command failed with exit code 127: npm run-script amplify:testHostingFn
sh: tsc: command not found
> [email protected] amplify:testHostingFn
> cd amplify/backend/function/testHostingFn && tsc -p ./tsconfig.json && cd -
create hosting for test branch in amplify console.
Build fails: error:
Packaging lambda function failed with the error
Command failed with exit code 127: npm run-script amplify:testHostingFn
sh: tsc: command not found
[email protected] amplify:testHostingFn
cd amplify/backend/function/testHostingFn && tsc -p ./tsconfig.json && cd -
Build Settings
No response
Log output
# Put your logs below this line
⚠️COMMENT VISIBILITY WARNING⚠️
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.