Closed selfagency closed 3 years ago
So this runs fine locally on my Mac and it runs fine on Codespaces, but the error arises when I run it in Docker.
Hey @selfagency
Thanks for the issue, can you provide me with the docker image? Otherwise, what is the node version it's running?
FROM node:14-alpine
RUN apk add curl git g++ make python3 dumb-init openjdk8-jre-lib
RUN npm -g i npm@latest node-gyp eslint typescript prettier stylelint textlint jest
RUN pip3 install --user yamllint
ENV HOST=0.0.0.0
EXPOSE 3000
USER node
VOLUME /usr/src/app
WORKDIR /usr/src/app
CMD ["dumb-init", "npm", "run", "start"]
If I reinstall your package from within Docker I get past that error to a heap overflow
Jacked up the RAM in my container and it works
Hm I see, sounds like a binary platform issue. A fresh install within docker would have built esbuild for the docker image, so can see why that worked.
Will close this off for now, thanks for the issue again
For some reason this worked just fine last week and now this week is throwing the following error regardless of profile. Project compiles fine if I disable.