deepinuser17
deepin
2019-06-02 19:12 我这里没有任何问题安装npm软件包。
Copy the Code
Copy the Code
Copy the Code
我的版本是15.10.1
- $ sudo apt install npm
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following additional packages will be installed:
- libhttp-parser2.8 libuv1 nodejs nodejs-doc
- The following NEW packages will be installed:
- libhttp-parser2.8 libuv1 nodejs nodejs-doc npm
- 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
- Need to get 9,339 kB of archives.
- After this operation, 50.2 MB of additional disk space will be used.
- Do you want to continue? [Y/n] y
- $ dpkg -S /usr/bin/npm
- npm: /usr/bin/npm
- $ /usr/bin/npm --version
- 5.5.1
我的版本是15.10.1
Reply Like 0 View the author


中文 

输入node -v倒是可以,可就是npm就是找不到命令
该怎么解决