I've tried the sample on WSL (Ubuntu) + asdf + node 16 and everything went fine 😊
But when running on Windows with nvm + Node 16 + changing var info = new ProcessStartInfo("npm") to var info = new ProcessStartInfo("npm.cmd")
I'm getting a very hard error to track
child-processes on master [!] is 📦 v1.0.0 via .NET v3.1.100 🎯 netcoreapp3.0 via v16.18.1
❯ dotnet run
node:internal/modules/cjs/loader:988
Unhandled exception. System.Exception: npm web server failed to start
at ChildProcesses.NpmScript.RunAsync(Action`1 output, Int32 timeout) in C:\repos\child-processes\NpmScript.cs:line 111
at ChildProcesses.Program.Main(String[] args) in C:\repos\child-processes\Program.cs:line 12
at ChildProcesses.Program.<Main>(String[] args)
I've tried the sample on WSL (Ubuntu) + asdf + node 16 and everything went fine 😊
But when running on Windows with nvm + Node 16 + changing
var info = new ProcessStartInfo("npm")
tovar info = new ProcessStartInfo("npm.cmd")
I'm getting a very hard error to track
emphasis on
node:internal/modules/cjs/loader:988
Any tips are appreciated