2017-02-13 69 views

回答

1

npm install -g [email protected]

既然你安裝的軟件包[email protected]全球範圍內,所以你會在目錄%APPDATA%\Roaming\npm\node_modules\.bin\找到可執行express

My node_modules directory does not show the express folder either.

如果你想在您的本地項目節點模塊,安裝軟件包,而不會全局標誌-g,你就會有內部node_modules目錄都express文件夾和目錄node_modules/.bin內名爲express的可執行文件。

+0

也試過以上。仍然沒有進展,cli仍然會提示相同的錯誤。 –

相關問題