泊坞窗桌面 - - 我已经在我的电脑上安装了码头工人,并创造了在Azure中的DevOps一个Git仓库为我的SPA(奥里利亚)。 我觉得我有,而不是IISExpress运行的项目,我有“码头工人”。 我点击“泊坞窗”来运行它,它去所有的方式通过,然后我得到下面的异常。 似乎很简单,我没有,除了它是在我的道路node.js中..我GOOGLE了这一点,有一对夫妇的问题上添加节点。所以我把它添加到用户变量。我已经将其添加到系统变量。 然后,我删除了所有条目,并重新安装节点..然后添加节点的路径本身。 然后我重新启动,并再次重新运行该项目 - 先在IISExpress - 成功 - 那么在泊坞窗,你可以再次看到异常。我不知道为什么,当节点是在机器上和路径及其投掷仍一个例外?
System.AggregateException
HResult=0x80131500
Message=One or more errors occurred. (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: C:\Windows\system32;C:\Windows;C:\Users\ContainerAdministrator\AppData\Local\Microsoft\WindowsApps;C:\Program Files\dotnet;C:\Users\ContainerUser\AppData\Local\Microsoft\WindowsApps
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.)
Source=System.Private.CoreLib
StackTrace:
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at Microsoft.AspNetCore.Builder.WebpackDevMiddleware.UseWebpackDevMiddleware(IApplicationBuilder appBuilder, WebpackDevMiddlewareOptions options)
at JobsLedgerAPI.Startup.Configure(IApplicationBuilder app, IHostingEnvironment env) in C:\AURELIA\1. - JOBSLEDGER SPA\JobsLedgerSPA\JobsLedgerAPI\Startup.cs:line 44
Inner Exception 1:
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: C:\Windows\system32;C:\Windows;C:\Users\ContainerAdministrator\AppData\Local\Microsoft\WindowsApps;C:\Program Files\dotnet;C:\Users\ContainerUser\AppData\Local\Microsoft\WindowsApps
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.
Inner Exception 2:
Win32Exception: The system cannot find the file specified