Open avxkim opened 5 years ago
I have the same problem, things doesnt seen to be working on linux anymore, it does works on mac thou... the only thing my CI did everytime before pre-rendering was do npm install
so it would occuasionally upgrade some dependencies... i will dig up see witch depencency got update and broke the whole thing...
used Yarn
to install all dependencies instead of NPM
and everything back to work...
@milewski in my case issue was with node version, it was 8.x in jenkins, i've changed it to 12.x and it built it successfully.
I had it upgraded from 8 all the way to 13... and didnt work.. I had even upgraded my chromium version in my docker file with no success:
FROM node:13-alpine
ARG REPOSITORY_MIRROR=http://dl-cdn.alpinelinux.org
RUN echo $REPOSITORY_MIRROR/alpine/v3.10/main > /etc/apk/repositories && \
echo $REPOSITORY_MIRROR/alpine/v3.10/community >> /etc/apk/repositories && \
apk add --no-cache chromium \
harfbuzz \
nss \
python \
alpine-sdk
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
ENV CHROME_BIN=/usr/bin/chromium-browser
ENV CHROME_PATH=/usr/lib/chromium/
reverting everything back to original and running yarn
instead of npm install
sundently fixed the issue... i have no clue which package was the issue... but at least it is working again \o/
Here's the error:
And detailed log:
I have no idea what's wrong, it was working before. I didn't changed anything in a prerender settings. Any assumptions?