我正在尝试在AWS Elastic Beanstalk上部署.net核心SDK模板“ reactredux”。
我已经在服务器上手动安装了nodejs,但是无论如何我还是有错误:
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 npmScriptName, ILogger logger)
EC2是Windows。 .net核心2.1 它可以在本地计算机上完美运行。
我根据本教程发布了应用程序:
(我做了所有事情)
有什么建议吗?