Open rcarmo opened 7 months ago
I keep getting the same error, trying multiple versions of Node (21, 20, 18, haven't tried other). I was planning on dockerising this project for myself (and maybe my friends).
Sorry just seeing this. Building thing successfully here (on Mac) w/ Node v22.2.0
(make public && npm run build
)
FROM node:18-alpine
RUN apk update
RUN apk add wget make bash git zip
RUN mkdir /src
COPY src /src
WORKDIR /src
RUN make public
RUN npm run start:prod
This is my Dockerfile. I think I got all the dependencies right. Fails with the same error as above.
@JaxTheWolf weird, that Dockerfile works for me, in the current main branch, just modified COPY . /src
and ran docker build .
from the repo root.
@JaxTheWolf weird, that Dockerfile works for me, in the current main branch, just modified
COPY . /src
and randocker build .
from the repo root.
Hm, could you try running it in a Linux VM? I would try Mac OS, but that's a bit more hassle than it's worth :D
Ah sorry i think my copy ‘.’ without cleaning first means it didn’t try and build everything from the container. Will try again shortly
Edit: it's not that, still works. I'll try on Linux when I get my hands on a box or VM (or will just setup some github workflows).
Error is a bit misleading. Try installing rollup-plugin-typescript2. "npm install rollup-plugin-typescript2". This worked for me on a fairly up to dat ubuntu.
I get an error message stating that the build configuration is broken. I have the following Node versions:
Log: