mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-02-21 11:05:56 +00:00
Updated 🆙 How to Update (markdown)
parent
96ff4206f0
commit
1c442cfe38
1 changed files with 6 additions and 3 deletions
|
@ -16,9 +16,6 @@ PS: For every new release, it takes some time to build the docker image, please
|
||||||
## 🆙 💪🏻 Without Docker
|
## 🆙 💪🏻 Without Docker
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Update your npm to the latest version
|
|
||||||
npm install npm -g
|
|
||||||
|
|
||||||
cd <uptime-kuma-directory>
|
cd <uptime-kuma-directory>
|
||||||
git fetch --all
|
git fetch --all
|
||||||
git checkout 1.7.0 --force
|
git checkout 1.7.0 --force
|
||||||
|
@ -26,4 +23,10 @@ npm install --legacy-peer-deps
|
||||||
node node_modules/esbuild/install.js
|
node node_modules/esbuild/install.js
|
||||||
npm run build
|
npm run build
|
||||||
pm2 restart uptime-kuma
|
pm2 restart uptime-kuma
|
||||||
|
```
|
||||||
|
|
||||||
|
If you see node-pre-gyp error, please use your npm to the latest version
|
||||||
|
```bash
|
||||||
|
# Update your npm to the latest version
|
||||||
|
npm install npm -g
|
||||||
```
|
```
|
Loading…
Add table
Reference in a new issue