docekr sometings updates
This commit is contained in:
+7
-1
@@ -9,9 +9,15 @@ sudo apt install nodejs
|
||||
sudo apt install npm
|
||||
sudo npm install n@latest -g
|
||||
sudo n stable
|
||||
npm install npm@latest -g
|
||||
sudo npm install npm@latest -g
|
||||
node -v
|
||||
npm -v
|
||||
|
||||
sudo npm install -g cnpm --registry=https://registry.npm.taobao.org
|
||||
|
||||
#or
|
||||
npm config set registry https://registry.npm.taobao.org
|
||||
npm config get registry
|
||||
```
|
||||
|
||||
- if error: /usr/bin/env: node: No such file or directory
|
||||
|
||||
Reference in New Issue
Block a user