Trying to get started with ASP.NET core and vuejs and get this result from "dotnet run":
/usr/local/share/dotnet/sdk/2.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.ObsoleteReferences.targets(33,5): warning : The tool 'Microsoft.DotNet.Watcher.Tools' is now included in the .NET Core SDK. Information on resolving this warning is available at (https://aka.ms/dotnetclitools-in-box). [/Users/matthew/Projects/aspnetcore-vue-starter/aspnetcore-vue-starter.csproj]
/usr/local/share/dotnet/sdk/2.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.ObsoleteReferences.targets(33,5): warning : The tool 'Microsoft.DotNet.Watcher.Tools' is now included in the .NET Core SDK. Information on resolving this warning is available at (https://aka.ms/dotnetclitools-in-box). [/Users/matthew/Projects/aspnetcore-vue-starter/aspnetcore-vue-starter.csproj]
: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[0]
User profile is available. Using '/Users/matthew/.aspnet/DataProtection-Keys' as key repository; keys will not be encrypted at rest.
fail: Microsoft.AspNetCore.NodeServices[0]
events.js:183
fail: Microsoft.AspNetCore.NodeServices[0]
events.js:183
fail: Microsoft.AspNetCore.NodeServices[0]
throw er; // Unhandled 'error' event
fail: Microsoft.AspNetCore.NodeServices[0]
^
fail: Microsoft.AspNetCore.NodeServices[0]
throw er; // Unhandled 'error' event
fail: Microsoft.AspNetCore.NodeServices[0]
^
fail: Microsoft.AspNetCore.NodeServices[0]
Error: getaddrinfo ENOTFOUND localhost
fail: Microsoft.AspNetCore.NodeServices[0]
at errnoException (dns.js:50:10)
fail: Microsoft.AspNetCore.NodeServices[0]
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:92:26)
fail: Microsoft.AspNetCore.NodeServices[0]
Error: getaddrinfo ENOTFOUND localhost
fail: Microsoft.AspNetCore.NodeServices[0]
at errnoException (dns.js:50:10)
fail: Microsoft.AspNetCore.NodeServices[0]
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:92:26)
When I run "npm -v" the result is 5.6.0, and when I run "dotnet --version" the result is 2.1.301
Trying to get started with ASP.NET core and vuejs and get this result from "dotnet run":
When I run "npm -v" the result is 5.6.0, and when I run "dotnet --version" the result is 2.1.301
Any ideas? I'm on macOS, FWIW.