mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 06:48:00 +01:00
instal latest npm with nodejs #3224
This commit is contained in:
parent
f58953bbe9
commit
63b8e461b5
1 changed files with 0 additions and 8 deletions
|
@ -91,14 +91,6 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
npm7installed=$(npm -v 2>/dev/null | grep -c "7.")
|
|
||||||
if [ ${npm7installed} -eq 0 ]; then
|
|
||||||
# needed for RTL
|
|
||||||
# https://github.blog/2021-02-02-npm-7-is-now-generally-available/
|
|
||||||
echo "# Update npm to v7"
|
|
||||||
sudo npm install --global npm@7
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Installed nodeJS $(node -v)"
|
echo "Installed nodeJS $(node -v)"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue