From 1c442cfe38bd38ab672b58aebc8b8df015e4a13a Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Fri, 24 Sep 2021 22:40:32 +0800 Subject: [PATCH] =?UTF-8?q?Updated=20=F0=9F=86=99=20How=20to=20Update=20(m?= =?UTF-8?q?arkdown)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 🆙-How-to-Update.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/🆙-How-to-Update.md b/🆙-How-to-Update.md index cb846b6..337c93a 100644 --- a/🆙-How-to-Update.md +++ b/🆙-How-to-Update.md @@ -16,9 +16,6 @@ PS: For every new release, it takes some time to build the docker image, please ## 🆙 💪🏻 Without Docker ```bash -# Update your npm to the latest version -npm install npm -g - cd git fetch --all git checkout 1.7.0 --force @@ -26,4 +23,10 @@ npm install --legacy-peer-deps node node_modules/esbuild/install.js npm run build 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 ``` \ No newline at end of file