|
Failed to render a page: Failed to render the root extension, with error: Failed to render a fragment. Status code: InternalServerError, message: " |
|
|
|
2020-03-23T18:08:57.3751828+05:30 [INF] (SerilogSample/amitkumar) Sending file. Request path: '"/index.html"'. Physical path: '"C:\inetpub\wwwroot\horizon.sitecore930v1sc.dev.local\sitecore\Horizon.Client\Horizon.Client\dist\index.html"' |
|
2020-03-23T18:08:57.3754690+05:30 [DBG] (SerilogSample/amitkumar) AuthenticationScheme: "BearerIdentityServerAuthenticationJwt" was successfully authenticated. |
|
2020-03-23T18:08:57.3844082+05:30 [ERR] (SerilogSample/amitkumar) Connection id ""0HLUF4Q5HTPI6"", Request id ""0HLUF4Q5HTPI6:00000004"": An unhandled exception was thrown by the application. |
|
System.InvalidOperationException: Failed to start Node process. To resolve this:. |
|
|
|
[1] Ensure that Node.js is installed and can be found in one of the PATH directories. |
|
Current PATH enviroment variable is: C:\ProgramData\Oracle\Java\javapath;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\windows\System32\OpenSSH\;C:\Program Files\Java\jdk-9.0.4\bin;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\150\DTS\Binn\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files\dotnet\;C:\Program Files (x86)\dotnet\;C:\Program Files\nodejs\node.exe;C:\windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps |
|
Make sure the Node executable is in one of those directories, or update your PATH. |
|
|
|
[2] See the InnerException for further details of the cause. ---> System.ComponentModel.Win32Exception: The system cannot find the file specified |
|
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo) |
|
at System.Diagnostics.Process.Start() |
|
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo) |
|
at Microsoft.AspNetCore.NodeServices.HostingModels.OutOfProcessNodeInstance.LaunchNodeProcess(ProcessStartInfo startInfo) |
|
--- End of inner exception stack trace --- |
|
at Microsoft.AspNetCore.NodeServices.HostingModels.OutOfProcessNodeInstance.LaunchNodeProcess(ProcessStartInfo startInfo) |
|
at Microsoft.AspNetCore.NodeServices.HostingModels.OutOfProcessNodeInstance..ctor(String entryPointScript, String projectPath, String[] watchFileExtensions, String commandLineArguments, CancellationToken applicationStoppingToken, ILogger nodeOutputLogger, IDictionary`2 environmentVars, Int32 invocationTimeoutMilliseconds, Boolean launchWithDebugging, Int32 debuggingPort) |
|
at Microsoft.AspNetCore.NodeServices.HostingModels.HttpNodeInstance..ctor(NodeServicesOptions options, Int32 port) |
|
at Microsoft.AspNetCore.NodeServices.HostingModels.NodeServicesOptionsExtensions.<>c__DisplayClass0_0.<UseHttpHosting>b__0() |
|
at Microsoft.AspNetCore.NodeServices.NodeServicesImpl.GetOrCreateCurrentNodeInstance() |
|
at Microsoft.AspNetCore.NodeServices.NodeServicesImpl.InvokeExportWithPossibleRetryAsync[T](String moduleName, String exportedFunctionName, Object[] args, Boolean allowRetry, CancellationToken cancellationToken) |
|
at Microsoft.AspNetCore.Builder.SpaPrerenderingExtensions.<>c__DisplayClass0_0.<<UseSpaPrerendering>b__1>d.MoveNext() |
|
--- End of stack trace from previous location where exception was thrown --- |
|
at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context) |
|
at Horizon.Client.ConfigureSitecore.<>c.<<Configure>b__5_2>d.MoveNext() |
|
--- End of stack trace from previous location where exception was thrown --- |
|
at Sitecore.Services.GraphQL.Hosting.GraphQLCacheStatsMiddleware.Invoke(HttpContext context) |
|
at Sitecore.Horizon.API.Gateway.ConfigureSitecore.<>c__DisplayClass4_0.<<Configure>b__1>d.MoveNext() |
|
--- End of stack trace from previous location where exception was thrown --- |
|
at Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.Invoke(HttpContext context) |
|
at Microsoft.AspNetCore.Builder.Extensions.MapMiddleware.Invoke(HttpContext context) |
|
at Microsoft.AspNetCore.Builder.Extensions.MapWhenMiddleware.Invoke(HttpContext context) |
|
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) |
|
at Sitecore.Plugin.Authentication.ErrorHandling.AuthenticationExceptionMiddleware.Invoke(HttpContext context) |
|
at Microsoft.AspNetCore.Server.IISIntegration.IISMiddleware.Invoke(HttpContext httpContext) |
|
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application) |
|
2020-03-23T18:08:57.3883826+05:30 [DBG] (SerilogSample/amitkumar) Connection id ""0HLUF4Q5HTPI6"" completed keep alive response. |
|
2020-03-23T18:08:57.3885877+05:30 [INF] (SerilogSample/amitkumar) Request finished in 17.528ms 500 |
|
2020-03-23T18:08:57.3892775+05:30 [INF] (SerilogSample/amitkumar) Received HTTP response after 19.7908ms - InternalServerError |
|
2020-03-23T18:08:57.3893730+05:30 [INF] (SerilogSample/amitkumar) End processing HTTP request after 20.0121ms - InternalServerError |
|
2020-03-23T18:08:57.3894349+05:30 [ERR] (SerilogSample/amitkumar) [Sitecore.FederatedUI.PageComposer] Failed to render a fragment root in region , with error: Failed to render a fragment. Status code: InternalServerError, message: |
|
2020-03-23T18:08:57.3896237+05:30 [ERR] (SerilogSample/amitkumar) [Sitecore.FederatedUI.PageComposer] Failed to render the root extension, with error: Failed to render a fragment. Status code: InternalServerError, message: |
|
Sitecore.FederatedUI.PageComposer.ComposingException: Failed to render the root extension, with error: Failed to render a fragment. Status code: InternalServerError, message: |
|
at Sitecore.FederatedUI.PageComposer.Loader.FragmentLoader.LoadFragments(Extension root, RequestContext requestContext, TimeSpan timeout) |
|
at Sitecore.FederatedUI.PageComposer.HtmlComposer.ComposeResponse(RequestContext requestContext, Layout layoutOptions) |
|
at Sitecore.FederatedUI.PageComposer.CoreHost.PageComposerMiddleware.Invoke(HttpContext context, HtmlComposer composer) |
Comments