From 673cafbf3caf96103a1dc3bf7c9096f02c9c4d44 Mon Sep 17 00:00:00 2001 From: tycrek Date: Thu, 14 Oct 2021 19:29:18 -0600 Subject: [PATCH] npm 8 or later is now required --- .github/README.md | 2 +- Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/README.md b/.github/README.md index df6531b..d620aa1 100644 --- a/.github/README.md +++ b/.github/README.md @@ -189,7 +189,7 @@ docker-compose up --force-recreate --build -d && docker image prune -f # && dock Expand for local installation steps
-1. You should have **Node.js 14** & **npm 7 or later** installed. +1. You should have **Node.js 14.17** & **npm 8 or later** installed. 2. Clone this repo using `git clone https://github.com/tycrek/ass.git && cd ass/` 3. Run `npm i -g typescript` to install TypeScript globally 4. Run `npm i --save-dev` to install the required dependencies (`--save-dev` is **required** for compilation) diff --git a/Dockerfile b/Dockerfile index c6a162c..b9e3e40 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,9 +12,9 @@ WORKDIR /opt/ass/ # Copy directory files (config.json, source files etc.) COPY . ./ -# Update npm to at least v7.x.x, +# Update npm to at least npm 8, # then install dependencies -RUN npm i -g npm@7 typescript && \ +RUN npm i -g npm@8 typescript && \ npm i --save-dev && \ npm run build