From d46355a10649bda06af5348b71e3e26bba67e41f Mon Sep 17 00:00:00 2001 From: ddp Date: Mon, 24 May 2021 00:17:20 +0200 Subject: [PATCH] more --- installnodejs.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/installnodejs.txt b/installnodejs.txt index 3810394..5f63fc6 100644 --- a/installnodejs.txt +++ b/installnodejs.txt @@ -4,4 +4,6 @@ sudo apt-get remove nodejs npm ## remove existing nodejs and npm packages curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash - curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list -sudo apt-get update && sudo apt-get install yarn +sudo apt-get update && sudo apt-get install yarn -y +npm install +npm audit fix --force