-
Notifications
You must be signed in to change notification settings - Fork 116
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
Astro build failing due to mismatched node version. #3754
Comments
Update: I have updated the node JS version using Build Settings --> Build image settings to 18.14.1 and retriggered the build but now it is failing with another reason.
|
@xkeshav Moving ticket over the to the Amplify Hosting repo, since this is a Amplify hosting build issue. |
Hi @xkeshav 👋 , thanks for raising this! Please refer to my comment here: #3571 (comment) |
I have tried whatever mentioen in the comment #3571 but Astro doesnt support less than 18.4.0 . :( |
For those still having issues, in my "Build Settings", I set my "Build image" to be a custom image from Docker's public ECR. This is the image that I used |
This is still an issue with my latest astro builds. Using the default astro install with 'npm create astro@latest' and connecting amplify with the github repository will have this node mismatch error without @BraedenKilburn fix. |
|
This issue has been automatically locked. |
Before creating a new issue, please confirm:
On which framework/platform are you having an issue?
Other
Which UI component?
Other
How is your app built?
Astro
What browsers are you seeing the problem on?
Chrome
Which region are you seeing the problem in?
us-east-1
Please describe your bug.
I have blog and it is hosted on a domain and AWS amplify trigger the build as soon as I commit and it was working fine till last commit
in last commit, I have updated Astro version and now build is getting failed and reason is. Although I have checked in GitHub workflow, it shows different error of CSS parsing issue in Jekyll build ; mentioned here.
but in AWS amplify build log, it says wrong node js version, this is the log details.
build link: https://us-east-1.console.aws.amazon.com/amplify/home?region=us-east-1#/d1c6hzkoiamnhy/develop/15
now kindly help me how to upgrade node js version to this AWS Amplify app?
thsi is my package json
note: local build command run successfully.
Thanks
What's the expected behaviour?
Build should run and complete successfully.
Help us reproduce the bug!
created a separate branch so you can trigger the build again here is the latest build result for the same: https://us-east-1.console.aws.amazon.com/amplify/home?region=us-east-1#/d1c6hzkoiamnhy/update/1?step=BUILD
Code Snippet
// Put your code below this line.
Console log output
No response
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: