有時候我會在ubuntu控制檯中運行npm命令,例如:NPM安裝不按原樣工作
NPM安裝永遠-g
我從控制檯得到這樣的反饋,這是我不清楚是它安裝?這是一個依賴關係列表嗎?這是一個問題嗎?我應該如何着手解決這個問題?
[email protected] /usr/local/lib/node_modules/forever
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected])
└── forever[email protected] ([email protected], [email protected], [email protected], [email protected])
試着以root用戶的身份運行你的npm命令,它會給你上面的輸出並添加這行。 '/ usr/local/bin/forever - >/usr/local/lib/node_modules/forever/bin/forever',這正是你想要的。 –