npm 8 or later is now required

pull/98/head
tycrek 3 years ago
parent ad642bc003
commit 673cafbf3c
No known key found for this signature in database
GPG Key ID: 25D74F3943625263

2
.github/README.md vendored

@ -189,7 +189,7 @@ docker-compose up --force-recreate --build -d && docker image prune -f # && dock
<summary><em>Expand for local installation steps</em></summary> <summary><em>Expand for local installation steps</em></summary>
<br> <br>
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/` 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 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) 4. Run `npm i --save-dev` to install the required dependencies (`--save-dev` is **required** for compilation)

@ -12,9 +12,9 @@ WORKDIR /opt/ass/
# Copy directory files (config.json, source files etc.) # Copy directory files (config.json, source files etc.)
COPY . ./ COPY . ./
# Update npm to at least v7.x.x, # Update npm to at least npm 8,
# then install dependencies # then install dependencies
RUN npm i -g npm@7 typescript && \ RUN npm i -g npm@8 typescript && \
npm i --save-dev && \ npm i --save-dev && \
npm run build npm run build

Loading…
Cancel
Save