UseWebpackDevMiddleware crash on startup in visual studio 2017 #1150

Closed
opened 2025-08-09 17:19:03 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @vahpetr on 12/29/2016

.NET Command Line Tools (1.0.0-preview2-1-003177)

Product Information:
Version: 1.0.0-preview2-1-003177
Commit SHA-1 hash: a2df9c2576

Runtime Environment:
OS Name: Mac OS X
OS Version: 10.12
OS Platform: Darwin
RID: osx.10.12-x64

Visual Studio for Mac Preview
Version Preview 2 (7.0 build 560)
Installation UUID: b1a73b24-8428-4477-b761-475e9bd8e906
Runtime:
Mono 4.8.0 (mono-4.8.0-branch/f5fbc32) (64-bit)
GTK+ 2.24.23 (Raleigh theme)

Package version: 408000344

NuGet
Version: 4.0.0.2098

Xamarin.Profiler
Not Installed

Apple Developer Tools
Xcode 8.2.1 (11766.1)
Build 8C1002

Xamarin.iOS
Version: 10.4.0.20 (Visual Studio Enterprise)
Hash: 62816dd
Branch: master
Build date: 2016-11-15 06:24:02-0500

Xamarin.Android
Version: 7.1.0.2 (Visual Studio Enterprise)
Android SDK: /Users/pyotrvasilev/Library/Developer/Xamarin/android-sdk-macosx
Supported Android versions:
4.0.3 (API level 15)
4.4 (API level 19)
6.0 (API level 23)

SDK Tools Version: 25.1.2
SDK Platform Tools Version: 24.0.0
SDK Build Tools Version: 23.0.2

Java SDK: /usr
java version "1.8.0_77"
Java(TM) SE Runtime Environment (build 1.8.0_77-b03)
Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode)

Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

Xamarin.Mac
Version: 3.0.0.290 (Visual Studio Enterprise)

Build Information
Release ID: 700000560
Git revision: 21714a71933f78242fea5b184a64f78bd5b11560
Build date: 2016-12-05 11:02:52-05
Xamarin addins: 6ef9b840f7003f55bc17782a901086305e96d290
Build lane: monodevelop-vNext-preview

Operating System
Mac OS X 10.12.2
Darwin MacBook-Pro-Pyotr.local 16.3.0 Darwin Kernel Version 16.3.0
Thu Nov 17 20:23:58 PST 2016
root:xnu-3789.31.2~1/RELEASE_X86_64 x86_64

KnockoutSpa

ASPNETCORE_ENVIRONMENT=Development

app.UseWebpackDevMiddleware

System.AggregateException: "One or more errors occurred. (No such file or directory)" ---> System.Exception {System.ComponentModel.Win32Exception}: "No such file or directory"
at at System.Diagnostics.Process.ResolvePath(String filename)\n at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)\n at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)\n at Microsoft.AspNetCore.NodeServices.HostingModels.OutOfProcessNodeInstance.LaunchNodeProcess(ProcessStartInfo startInfo)\n at Microsoft.AspNetCore.NodeServices.HostingModels.OutOfProcessNodeInstance..ctor(String entryPointScript, String projectPath, String[] watchFileExtensions, String commandLineArguments, ILogger nodeOutputLogger, IDictionary2 environmentVars, Int32 invocationTimeoutMilliseconds, Boolean launchWithDebugging, Int32 debuggingPort)\n at Microsoft.AspNetCore.NodeServices.HostingModels.HttpNodeInstance..ctor(NodeServicesOptions options, Int32 port)\n at Microsoft.AspNetCore.NodeServices.HostingModels.NodeServicesOptionsExtensions.<>c__DisplayClass0_0.<UseHttpHosting>b__0()\n at Microsoft.AspNetCore.NodeServices.NodeServicesImpl.CreateNewNodeInstance()\n at Microsoft.AspNetCore.NodeServices.NodeServicesImpl.GetOrCreateCurrentNodeInstance()\n at Microsoft.AspNetCore.NodeServices.NodeServicesImpl.<InvokeExportWithPossibleRetryAsync>d__101.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)\n at Microsoft.AspNetCore.Builder.WebpackDevMiddleware.UseWebpackDevMiddleware(IApplicationBuilder appBuilder, WebpackDevMiddlewareOptions options)\n at Tcards.Startup.Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory) in /Users/pyotrvasilev/Projects/Tcards/src/Tcards/Startup.cs:109

*Originally created by @vahpetr on 12/29/2016* .NET Command Line Tools (1.0.0-preview2-1-003177) Product Information: Version: 1.0.0-preview2-1-003177 Commit SHA-1 hash: a2df9c2576 Runtime Environment: OS Name: Mac OS X OS Version: 10.12 OS Platform: Darwin RID: osx.10.12-x64 Visual Studio for Mac Preview Version Preview 2 (7.0 build 560) Installation UUID: b1a73b24-8428-4477-b761-475e9bd8e906 Runtime: Mono 4.8.0 (mono-4.8.0-branch/f5fbc32) (64-bit) GTK+ 2.24.23 (Raleigh theme) Package version: 408000344 NuGet Version: 4.0.0.2098 Xamarin.Profiler Not Installed Apple Developer Tools Xcode 8.2.1 (11766.1) Build 8C1002 Xamarin.iOS Version: 10.4.0.20 (Visual Studio Enterprise) Hash: 62816dd Branch: master Build date: 2016-11-15 06:24:02-0500 Xamarin.Android Version: 7.1.0.2 (Visual Studio Enterprise) Android SDK: /Users/pyotrvasilev/Library/Developer/Xamarin/android-sdk-macosx Supported Android versions: 4.0.3 (API level 15) 4.4 (API level 19) 6.0 (API level 23) SDK Tools Version: 25.1.2 SDK Platform Tools Version: 24.0.0 SDK Build Tools Version: 23.0.2 Java SDK: /usr java version "1.8.0_77" Java(TM) SE Runtime Environment (build 1.8.0_77-b03) Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode) Android Designer EPL code available here: https://github.com/xamarin/AndroidDesigner.EPL Xamarin.Mac Version: 3.0.0.290 (Visual Studio Enterprise) Build Information Release ID: 700000560 Git revision: 21714a71933f78242fea5b184a64f78bd5b11560 Build date: 2016-12-05 11:02:52-05 Xamarin addins: 6ef9b840f7003f55bc17782a901086305e96d290 Build lane: monodevelop-vNext-preview Operating System Mac OS X 10.12.2 Darwin MacBook-Pro-Pyotr.local 16.3.0 Darwin Kernel Version 16.3.0 Thu Nov 17 20:23:58 PST 2016 root:xnu-3789.31.2~1/RELEASE_X86_64 x86_64 KnockoutSpa ASPNETCORE_ENVIRONMENT=Development app.UseWebpackDevMiddleware System.AggregateException: "One or more errors occurred. (No such file or directory)" ---> System.Exception {System.ComponentModel.Win32Exception}: "No such file or directory" at at System.Diagnostics.Process.ResolvePath(String filename)\n at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)\n at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)\n at Microsoft.AspNetCore.NodeServices.HostingModels.OutOfProcessNodeInstance.LaunchNodeProcess(ProcessStartInfo startInfo)\n at Microsoft.AspNetCore.NodeServices.HostingModels.OutOfProcessNodeInstance..ctor(String entryPointScript, String projectPath, String[] watchFileExtensions, String commandLineArguments, ILogger nodeOutputLogger, IDictionary`2 environmentVars, Int32 invocationTimeoutMilliseconds, Boolean launchWithDebugging, Int32 debuggingPort)\n at Microsoft.AspNetCore.NodeServices.HostingModels.HttpNodeInstance..ctor(NodeServicesOptions options, Int32 port)\n at Microsoft.AspNetCore.NodeServices.HostingModels.NodeServicesOptionsExtensions.<>c__DisplayClass0_0.<UseHttpHosting>b__0()\n at Microsoft.AspNetCore.NodeServices.NodeServicesImpl.CreateNewNodeInstance()\n at Microsoft.AspNetCore.NodeServices.NodeServicesImpl.GetOrCreateCurrentNodeInstance()\n at Microsoft.AspNetCore.NodeServices.NodeServicesImpl.<InvokeExportWithPossibleRetryAsync>d__10`1.MoveNext() --- End of inner exception stack trace --- at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)\n at Microsoft.AspNetCore.Builder.WebpackDevMiddleware.UseWebpackDevMiddleware(IApplicationBuilder appBuilder, WebpackDevMiddlewareOptions options)\n at Tcards.Startup.Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory) in /Users/pyotrvasilev/Projects/Tcards/src/Tcards/Startup.cs:109
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#1150
No description provided.