0
我正試圖在Windows 8機器上安裝express。我已經嘗試下面的命令:堅持錯誤:express不被識別爲內部或外部命令
npm install -g express
npm install -g [email protected]
上面除非,我也嘗試安裝使用全球管理權限也跟着this。
我的node_modules目錄也沒有顯示express文件夾。
我也嘗試更新節點並重新啓動終端/機器。
我正試圖在Windows 8機器上安裝express。我已經嘗試下面的命令:堅持錯誤:express不被識別爲內部或外部命令
npm install -g express
npm install -g [email protected]
上面除非,我也嘗試安裝使用全球管理權限也跟着this。
我的node_modules目錄也沒有顯示express文件夾。
我也嘗試更新節點並重新啓動終端/機器。
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
的可執行文件。
也試過以上。仍然沒有進展,cli仍然會提示相同的錯誤。 –