Using older version of single-file-cli to avoid error.

This commit is contained in:
Roland 2024-05-14 20:29:57 -06:00
parent 7cdf5f3323
commit 86355b664d
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
5 changed files with 5 additions and 5 deletions

View file

@ -21,7 +21,7 @@ npm install
npm run build
# Install Node console commands.
npm i -g serve@12.0.1 single-file-cli@2.0.34 readability-extractor@0.0.6 carto@1.2.0
npm i -g serve@12.0.1 single-file-cli@1.1.54 readability-extractor@0.0.6 carto@1.2.0
# Install Python requirements.
python3 --version

View file

@ -16,6 +16,6 @@ RUN pip3 install -r /app/requirements.txt
COPY docker/archive /app
# Install a newer singlefile and Readability.
RUN npm install -g single-file-cli@2.0.34 readability-extractor@0.0.6
RUN npm install -g single-file-cli@1.1.54 readability-extractor@0.0.6
ENTRYPOINT [ "python3", "/app/main.py"]

View file

@ -20,7 +20,7 @@ usermod -aG pi wrolpi
sed -i 's/port = 5433/port = 5432/' /etc/postgresql/15/main/postgresql.conf
# Install Node console commands.
npm i -g serve@12.0.1 single-file-cli@2.0.34 readability-extractor@0.0.6 carto@1.2.0
npm i -g serve@12.0.1 single-file-cli@1.1.54 readability-extractor@0.0.6 carto@1.2.0
# Put the latest WROLPi master in /opt/wrolpi.
git clone -b master https://github.com/lrnselfreliance/wrolpi.git /opt/wrolpi

View file

@ -14,7 +14,7 @@ node -v
npm -v
# Install serve, and archiving tools.
single-file --version || sudo npm i -g serve@12.0.1 single-file-cli@2.0.34 readability-extractor@0.0.6 carto@1.2.0
single-file --version || sudo npm i -g serve@12.0.1 single-file-cli@1.1.54 readability-extractor@0.0.6 carto@1.2.0
# Build React app in background job.
cd /opt/wrolpi/app || exit 5

View file

@ -14,7 +14,7 @@ node -v
npm -v
# Install serve, and archiving tools.
single-file --version || sudo npm i -g serve@12.0.1 single-file-cli@2.0.34 readability-extractor@0.0.6 carto@1.2.0
single-file --version || sudo npm i -g serve@12.0.1 single-file-cli@1.1.54 readability-extractor@0.0.6 carto@1.2.0
# Build React app in background job.
cd /opt/wrolpi/app || exit 5