Hello,
In the visual studio, there is a template for react and ASP.net Core?
Can I use the new version of react (function base) in this template?
When I try to use it, after debugging I encounter this error!
An unhandled exception occurred while processing the request.
AggregateException: One or more errors occurred. (One or more errors occurred. (The npm script 'start' exited without indicating that the create-react-app server was listening for requests. The error output was: ))
System.Threading.Tasks.Task<TResult>.GetResultCore(bool waitCompletionNotification)
InvalidOperationException: The npm script 'start' exited without indicating that the create-react-app server was listening for requests. The error output was:
Microsoft.AspNetCore.SpaServices.ReactDevelopmentServer.ReactDevelopmentServerMiddleware.StartCreateReactAppServerAsync(string sourcePath, string scriptName, string pkgManagerCommand, int portNumber, ILogger logger, DiagnosticSource diagnosticSource, CancellationToken applicationStoppingToken)
thanks,
Saeed