1
我在我的ASP.Net核心應用程序中使用Microsoft.AspNetCore.NodeServices 1.1.1
。一切都已經工作正常,但現在我在新電腦上,我得到以下錯誤:Microsoft.AspNetCore.NodeServices:無法啓動節點進程
System.InvalidOperationException:
Failed to start Node process. To resolve this:.
[1] Ensure that Node.js is installed and can be found in one of the PATH directories.
Current PATH enviroment variable is: ....
Make sure the Node executable is in one of those directories, or update your PATH.
[2] See the InnerException for further details of the cause.
我已刪除了此問題的路徑變量,但在安裝節點目錄中有上市。
node -v
在終端給我v6.11.0
所以它被添加到路徑。
代碼沒有改變,因爲它上次工作,只有我的電腦。有誰知道什麼可能是錯的?