Closed pghege closed 2 years ago
thanks for the bug report @pghege. Is this problem specific to nodejs 17? If so I'd prefer to stick to the LTS rather than use the work-around, can you see if the fix in 300ab73 works for you?
Yes, It appears to be an issue with nodejs 17. Tried with LTS and it builds correctly. Good call @martinjrobins
Describe the bug
Building galvanalyser_frontend
[+] Building 5.3s (14/16)
=> ERROR [build 7/7] RUN npm run build 3.9s
To Reproduce after clean install change directories in .env to match personal setup.
docker-compose build
Expected behavior Build to succeed
I believe it's similar to https://github.com/webpack/webpack/issues/14532 Adding
ENV NODE_OPTIONS=--openssl-legacy-provider
to Dockerfile made it work for me locally