-
Notifications
You must be signed in to change notification settings - Fork 822
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
amplify console build fail with <node-package-manager>.cmd --no-bin-links --production
#13120
Comments
Awesome, that worked. Appreciate the timely help. Do you know why that got in the first place itself? |
marking this as bug for further improvements. |
<node-package-manager>.cmd --no-bin-links --production
For me this I had an extra function which I had not started using I had only created it: it had this amplify.state file:
Whereas other functions had this:
the other 2 working functions are triggers built from Post Confirm and Post Auth during >amplify add auth , but the failing one was just an >amplify add function, and was not in use, I used >amplify remove function, and the error was gone. |
@ykethan, |
Closing as this issue is now resolved with the release of CLI 12.6.0 |
|
How did you install the Amplify CLI?
curl
If applicable, what version of Node.js are you using?
19.6.0
Amplify CLI Version
12.2.5
What operating system are you using?
Mac
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No changes made to the cloud resources managed by Amplify .
Describe the bug
amplify init stopped working all of a sudden.
![image](https://private-user-images.githubusercontent.com/6767299/260920772-6dd9179a-f0e1-463d-9160-6024b2cb8596.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMDgwNjIsIm5iZiI6MTczOTAwNzc2MiwicGF0aCI6Ii82NzY3Mjk5LzI2MDkyMDc3Mi02ZGQ5MTc5YS1mMGUxLTQ2M2QtOTE2MC02MDI0YjJjYjg1OTYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDhUMDk0MjQyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YmUwZDRiODIwYWY1MjJkMzk5YjA0N2ExODBhNTY2MjNhYjMyNTM0M2JiZGUxMTk1NGQ2MjBmOWM3N2E4OTE4ZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.-Wzm3bBoCS4UVlnu-zTSG-cCqnZNCF_bBVIZi096jkk)
I have various envrionments set up in amplify and has been working fine. All of a sudden amplify init stopped working. I am not able to do init. It is complaining of errors in the lambda layer.
Expected behavior
It should be updated to the env pointed out. amplify pull or amplify push not working either.
Reproduction steps
Checkout to a new amplify env
do amplify init
Project Identifier
No response
Log output
Additional information
No response
Before submitting, please confirm:
The text was updated successfully, but these errors were encountered: