react-script is broken for node:latest
We learned while building #25 (closed) and #22 that the node:latest
docker image is being borky. There are some weird things going on, but I'm not sure which is the cause... here they are:
-
yarn
is not creating anode_modules
folder when it finishes. It is not failing. It just doesn't make one
- yarn version is the same on my local machine (1.22.22) as the build machine, and it works here
- yarn is not paying attention to its
.yarnrc.yml
file (could be a new version thing, but I don't think so)
-
react-scripts
is called fromnode_modules
and is also horribly deprecated. Could switch to R3F but that is likely not the cause of our issue.