upgrade the example to node 16
This commit is contained in:
parent
6bd5f210f0
commit
4d43fc76f2
|
|
@ -13,7 +13,7 @@ mkdir -p tmp/use-npm-repository && cd tmp/use-npm-repository
|
||||||
|
|
||||||
# install node LTS.
|
# install node LTS.
|
||||||
# see https://github.com/nodesource/distributions#debinstall
|
# see https://github.com/nodesource/distributions#debinstall
|
||||||
curl -sL --fail --show-error https://deb.nodesource.com/setup_14.x | bash
|
curl -sL --fail --show-error https://deb.nodesource.com/setup_16.x | bash
|
||||||
apt-get install -y nodejs
|
apt-get install -y nodejs
|
||||||
node --version
|
node --version
|
||||||
npm --version
|
npm --version
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue