/usr/local/lib/node_modules/grunt-cli/bin/gruntgrunt-cli..."/>
溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點(diǎn)擊 登錄注冊 即表示同意《億速云用戶服務(wù)條款》

【Node】nmp install

發(fā)布時(shí)間:2020-07-04 18:49:02 來源:網(wǎng)絡(luò) 閱讀:470 作者:chaoh2007 欄目:web開發(fā)

// install package

[root@wode001 10.node.js]# npm install -g grunt-cli

/usr/local/bin/grunt -> /usr/local/lib/node_modules/grunt-cli/bin/grunt

grunt-cli@0.1.13 /usr/local/lib/node_modules/grunt-cli

├── resolve@0.3.1

├── nopt@1.0.10 (abbrev@1.0.7)

└── findup-sync@0.1.3 (lodash@2.4.2, glob@3.2.11)

[root@wode001 10.node.js]# 


// restart iptables

[root@wode001 10.node.js]# service iptables restart

iptables:將鏈設(shè)置為政策 ACCEPT:filter                    [確定]

iptables:清除防火墻規(guī)則:                                 [確定]

iptables:正在卸載模塊:                                   [確定]

iptables:應(yīng)用防火墻規(guī)則:                                 [確定]

[root@wode001 10.node.js]#


// install express

[root@wode001 10.node.js]# npm install -g express

express@4.13.3 /usr/local/lib/node_modules/express

├── merge-descriptors@1.0.0

├── cookie-signature@1.0.6

├── methods@1.1.1

├── escape-html@1.0.2

├── range-parser@1.0.2

├── array-flatten@1.1.1

├── cookie@0.1.3

├── content-type@1.0.1

├── utils-merge@1.0.0

├── parseurl@1.3.0

├── fresh@0.3.0

├── vary@1.0.1

├── path-to-regexp@0.1.7

├── etag@1.7.0

├── content-disposition@0.5.0

├── serve-static@1.10.0

├── depd@1.0.1

├── qs@4.0.0

├── proxy-addr@1.0.8 (forwarded@0.1.0, ipaddr.js@1.0.1)

├── finalhandler@0.4.0 (unpipe@1.0.0)

├── on-finished@2.3.0 (ee-first@1.1.1)

├── debug@2.2.0 (ms@0.7.1)

├── send@0.13.0 (destroy@1.0.3, statuses@1.2.1, ms@0.7.1, mime@1.3.4, http-errors@1.3.1)

├── accepts@1.2.12 (negotiator@0.5.3, mime-types@2.1.4)

└── type-is@1.6.6 (media-typer@0.3.0, mime-types@2.1.4)

[root@wode001 10.node.js]# 



向AI問一下細(xì)節(jié)
推薦閱讀:
  1. Node.js安裝
  2. 安裝node.js

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI