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

Update node version to 14 #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jessewang-arvatosystems
Copy link

docker compose fails to finish with node version 12.18.2 as @testing-library/[email protected] will throw an error expecting a version >=14.

Will need to update the blog to reflect this as well:
https://www.docker.com/blog/how-to-use-the-official-nginx-docker-image/

Also...
docker-compose up was not a valid command for me, I used docker compose up instead.

@newtob
Copy link

newtob commented Jul 2, 2024

Yes! Great start. Please investigate.

I just tried this update but it doesn't get past the existing error for me. Error in issue #9
#0 48.87 error @testing-library/[email protected]: The engine "node" is incompatible with this module. Expected version ">=18". Got "14.21.3"

I upgraded node to 22 and still the same error. But then I did the following for it to work:

replace "start": "react-scripts start" by "start": "react-scripts --openssl-legacy-provider start"
replace "build": "react-scripts build" by "build": "react-scripts --openssl-legacy-provider build"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants