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.Dismiss alert
If applicable, what version of Node.js are you using?
20,9.0
Amplify CLI Version
12.8.2
What operating system are you using?
Ubuntu
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No
Describe the bug
When adding a function, I get the error: 🛑 Syntax Error: Expected Name, found ")".
vscode ➜ /workspaces/gene-panel-api/project $ amplify add function
? Select which capability you want to add: Lambda function (serverless function)
? Provide an AWS Lambda function name: lockPanelTranscripts
? Choose the runtime that you want to use: Python
Only one template found - using Hello World by default.
✅ Available advanced settings:
Resource access permissions
Scheduled recurring invocation
Lambda layers configuration
Environment variables configuration
Secret values configuration
? Do you want to configure advanced settings? Yes
? Do you want to access other resources in this project from your Lambda function? Yes
? Select the categories you want this function to have access to. storage
🛑 Syntax Error: Expected Name, found ")".
Comments on closed issues are hard for our team to see.
If you need more assistance, please 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.
How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
20,9.0
Amplify CLI Version
12.8.2
What operating system are you using?
Ubuntu
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No
Describe the bug
When adding a function, I get the error: 🛑 Syntax Error: Expected Name, found ")".
vscode ➜ /workspaces/gene-panel-api/project $ amplify add function
? Select which capability you want to add: Lambda function (serverless function)
? Provide an AWS Lambda function name: lockPanelTranscripts
? Choose the runtime that you want to use: Python
Only one template found - using Hello World by default.
✅ Available advanced settings:
? Do you want to configure advanced settings? Yes
? Do you want to access other resources in this project from your Lambda function? Yes
? Select the categories you want this function to have access to. storage
🛑 Syntax Error: Expected Name, found ")".
Learn more at: https://docs.amplify.aws/cli/project/troubleshooting/
Session Identifier: f7c6b1db-7017-40ca-9bf7-cd79df1f6643
✅ Report saved: /tmp/genepanelapi/report-1701123281320.zip
✔ Done
Project Identifier: 936a978c6db7613db2c7925c5142c3e6
Expected behavior
amplify add function works as expected OR Syntax Error gives an indication of where the error occurs.
Reproduction steps
I haven't tried a minimal reproduction.
Project Identifier
936a978c6db7613db2c7925c5142c3e6
Log output
Additional information
No response
Before submitting, please confirm:
The text was updated successfully, but these errors were encountered: