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
ykethan opened this issue
Aug 1, 2023
· 4 comments
Labels
bugSomething isn't workingfunctionsIssues tied to the functions categoryhostingIssues tied to hosting categoryp1windowsIssues tied to running the CLI on Windows
You probably don't need to add the .cmd extension to run those commands on Windows. See how yarn works on Windows Powershell and Windows CMD without it:
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.
bugSomething isn't workingfunctionsIssues tied to the functions categoryhostingIssues tied to hosting categoryp1windowsIssues tied to running the CLI on Windows
How did you install the Amplify CLI?
No response
If applicable, what version of Node.js are you using?
No response
Amplify CLI Version
12.2.3
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.
none
Describe the bug
reported: #10815 (comment)
When utilizing windows environment and creating a new function with yarn or npm as package manager causes build
failures
Workaround:
Remove the
.cmd
in theamplify.state
file inbackend/function/<function-name>
.Then commit changes.
the build should proceed without errors
Expected behavior
build functions in console without errors
Reproduction steps
.cmd
in mac env for testProject Identifier
No response
Log output
Additional information
No response
Before submitting, please confirm:
The text was updated successfully, but these errors were encountered: