Skip to content

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