Skip to content
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

Automated Previews are failing to build #42

Open
jaydrogers opened this issue May 22, 2023 · 2 comments
Open

Automated Previews are failing to build #42

jaydrogers opened this issue May 22, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@jaydrogers
Copy link
Contributor

Problem

  • The automated previews with Surge are failing to build with this error
image

Possible cause

The upstream GitHub Action automatically changed to Node 18, which is not compatible with the current version of Nuxt Content this site is running.

https://github.com/postalserver/docs/blob/main/.github/workflows/preview.yml#L14-L23

Possible solutions

  1. Force Node 16 to run the build, then deploy to Surge
  2. Explore upgrading Nuxt Content to support Node 18
@jaydrogers jaydrogers added the bug Something isn't working label May 22, 2023
@jaydrogers jaydrogers self-assigned this May 22, 2023
@willpower232
Copy link
Contributor

ah yes ubuntu-latest changed recently of course. I don't know if they've documented the lifecycle for the versions in there or if there is a way to change the version but node 20 is now a thing as well, maybe easier to build with a docker image or something 😅

@jaydrogers
Copy link
Contributor Author

For sure. I will leave this open for now and will circle back 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants