Error running #1397

Closed
opened 2025-08-09 17:19:59 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @AndrewKralovec on 9/7/2016

I create a asp.net core/ Angular2 application using your yo project generator. It runs fine when i run it on my computer. However, when i add it to my sever and run the dotnet run and have it on port 5000, i am unable to access it. When i run node and other projects on my server it works just fine. Which leads me to believe that there is something wrong with the project. I read a post saying that its
more likely is that your app is only binding to the localhost address (i.e. 127.0.0.1) and not the public interface. and to add dotnet run --server.urls=http://0.0.0.0:5000 , but when i run that i get

info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
      Request starting HTTP/1.1 GET http://localhost:5000/  
info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[1]
      Executing action method BlueWolf.Controllers.HomeController.Index (AndrewKralovec) with arguments () - ModelState is Valid
info: Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ViewResultExecutor[1]
      Executing ViewResult, running view at path /Views/Home/Index.cshtml.
info: Microsoft.Extensions.DependencyInjection.DataProtectionServices[0]
      User profile is available. Using '/home/andrew/.aspnet/DataProtection-Keys' as key repository; keys will not be encrypted at rest.
info: Microsoft.AspNetCore.NodeServices[0]
      Angular 2 is running in the development mode. Call enableProdMode() to enable the production mode.
fail: Microsoft.AspNetCore.NodeServices[0]
      EXCEPTION: ReferenceError: localStorage is not defined
fail: Microsoft.AspNetCore.NodeServices[0]
      STACKTRACE:
fail: Microsoft.AspNetCore.NodeServices[0]
      ReferenceError: localStorage is not defined
          at LoginService.isLoggedIn (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/ClientApp/boot-server.js:1:2817)
          at Home.ngOnInit (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/ClientApp/boot-server.js:1:25440)
          at DebugAppView._View_Home_Host0.detectChangesInternal (Home.template.js:35:73)
          at DebugAppView.AppView.detectChanges (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/@angular/core/src/linker/view.js:243:14)
          at DebugAppView.detectChanges (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/@angular/core/src/linker/view.js:348:44)
          at DebugAppView.AppView.detectContentChildrenChanges (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/@angular/core/src/linker/view.js:261:19)
          at DebugAppView.AppView.detectChangesInternal (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/@angular/core/src/linker/view.js:253:14)
          at DebugAppView.AppView.detectChanges (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/@angular/core/src/linker/view.js:243:14)
          at DebugAppView.detectChanges (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/@angular/core/src/linker/view.js:348:44)
          at DebugAppView.AppView.detectViewChildrenChanges (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/@angular/core/src/linker/view.js:269:19)
        -------------   Elapsed: 3 ms; At: Wed Sep 07 2016 06:44:04 GMT-0500 (CDT)   -------------  
          at Object.Zone.longStackTraceZoneSpec.onScheduleTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/long-stack-trace-zone.js:111:23)
          at ZoneDelegate.scheduleTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:300:50)
          at Zone.scheduleMicroTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:237:40)
          at scheduleResolveOrReject (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:547:15)
          at resolvePromise (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:511:22)
          at /home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:493:14
          at /home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/@angular/router/src/router.js:349:17
          at ZoneDelegate.invoke (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:290:29)
        -------------   Elapsed: 2 ms; At: Wed Sep 07 2016 06:44:04 GMT-0500 (CDT)   -------------  
          at Object.Zone.longStackTraceZoneSpec.onScheduleTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/long-stack-trace-zone.js:111:23)
          at ZoneDelegate.scheduleTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:300:50)
          at Zone.scheduleMicroTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:237:40)
          at scheduleResolveOrReject (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:547:15)
          at resolvePromise (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:511:22)
          at SafeSubscriber._complete (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:493:14)
          at SafeSubscriber.__tryOrUnsub (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/rxjs/Subscriber.js:225:16)
          at SafeSubscriber.complete (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/rxjs/Subscriber.js:210:26)
        -------------   Elapsed: 27 ms; At: Wed Sep 07 2016 06:44:04 GMT-0500 (CDT)   -------------  
          at Object.Zone.longStackTraceZoneSpec.onScheduleTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/long-stack-trace-zone.js:111:23)
          at ZoneDelegate.scheduleTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:300:50)
          at Zone.scheduleMicroTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:237:40)
          at scheduleResolveOrReject (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:547:15)
          at resolvePromise (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:511:22)
          at /home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:493:14
          at SafeSubscriber._complete (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/rxjs/operator/toPromise.js:24:122)
          at SafeSubscriber.__tryOrUnsub (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/rxjs/Subscriber.js:225:16)
        -------------   Elapsed: 0 ms; At: Wed Sep 07 2016 06:44:04 GMT-0500 (CDT)   -------------  
          at Object.Zone.longStackTraceZoneSpec.onScheduleTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/long-stack-trace-zone.js:111:23)
          at ZoneDelegate.scheduleTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:300:50)
          at Zone.scheduleMicroTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:237:40)
          at scheduleResolveOrReject (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:547:15)
          at resolvePromise (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:511:22)
          at /home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:549:18
          at ZoneDelegate.invokeTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:323:38)
          at Object.NgZoneImpl.inner.inner.fork.onInvokeTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/@angular/core/src/zone/ng_zone_impl.js:44:41)
        -------------   Elapsed: 0 ms; At: Wed Sep 07 2016 06:44:04 GMT-0500 (CDT)   -------------  
          at Object.Zone.longStackTraceZoneSpec.onScheduleTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/long-stack-trace-zone.js:111:23)
          at ZoneDelegate.scheduleTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:300:50)
          at Zone.scheduleMicroTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:237:40)
          at scheduleResolveOrReject (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:547:15)
          at resolvePromise (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:511:22)
          at /home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:549:18
          at ZoneDelegate.invokeTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:323:38)
          at Object.NgZoneImpl.inner.inner.fork.onInvokeTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/@angular/core/src/zone/ng_zone_impl.js:44:41)
        -------------   Elapsed: 54 ms; At: Wed Sep 07 2016 06:44:04 GMT-0500 (CDT)   -------------  
          at Object.Zone.longStackTraceZoneSpec.onScheduleTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/long-stack-trace-zone.js:111:23)
          at ZoneDelegate.scheduleTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:300:50)
          at Zone.scheduleMicroTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:237:40)
          at scheduleResolveOrReject (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:547:15)
          at ZoneAwarePromise.then (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:625:18)
          at RuntimeCompiler.compileComponentAsync (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/@angular/compiler/src/runtime_compiler.js:50:45)
          at RuntimeCompiler.resolveComponent (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/@angular/compiler/src/runtime_compiler.js:39:21)
          at resolveComponent (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/@angular/router/src/resolve.js:35:25)
        -------------   Elapsed: 18 ms; At: Wed Sep 07 2016 06:44:04 GMT-0500 (CDT)   -------------  
          at Object.Zone.longStackTraceZoneSpec.onScheduleTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/long-stack-trace-zone.js:111:23)
          at ZoneDelegate.scheduleTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:300:50)
          at Zone.scheduleMicroTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:237:40)
          at scheduleResolveOrReject (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:547:15)
          at ZoneAwarePromise.then (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:625:18)
          at Router.scheduleNavigation (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/@angular/router/src/router.js:278:34)
          at Router.navigateByUrl (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/@angular/router/src/router.js:244:25)
          at Router.initialNavigation (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/@angular/router/src/router.js:140:14)
        -------------   Elapsed: 491 ms; At: Wed Sep 07 2016 06:44:04 GMT-0500 (CDT)   -------------  
          at Object.Zone.longStackTraceZoneSpec.onScheduleTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/long-stack-trace-zone.js:111:23)
          at ZoneDelegate.scheduleTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:300:50)
          at Zone.scheduleMacroTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:240:40)
          at /home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:683:30
          at setTimeout (eval at createNamedFn (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:1000:18), <anonymous>:3:37)
          at setupRouterInitializer (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/@angular/router/src/common_router_providers.js:39:5)
          at ReflectiveInjector_._instantiate (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/@angular/core/src/di/reflective_injector.js:698:27)
          at ReflectiveInjector_._instantiateProvider (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/@angular/core/src/di/reflective_injector.js:631:31)
info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[2]
      Executed action BlueWolf.Controllers.HomeController.Index (AndrewKralovec) in 38108.7536ms
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
      Request finished in 39014.9737ms 200 text/html; charset=utf-8
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
      Request starting HTTP/1.1 GET http://localhost:5000/dist/main.js?v=4n0eskTDCwzX-wG5AzFi94MrB5uBlBf1ms1dhBe3a1Q  
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
      Request starting HTTP/1.1 GET http://localhost:5000/dist/vendor.js?v=vJS8eKn1wDZpNKE-SYnibVC_KjaoGWg8SWZh1HVH2iY  
info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2]
      Sending file. Request path: '/dist/vendor.js'. Physical path: '/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/wwwroot/dist/vendor.js'
info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2]
      Sending file. Request path: '/dist/main.js'. Physical path: '/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/wwwroot/dist/main.js'
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
      Request finished in 151.1644ms 200 application/javascript
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
      Request finished in 84.1983ms 200 application/javascript
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
      Request starting HTTP/1.1 GET http://localhost:5000/images/Front.jpg  
info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[6]
      The file /images/Front.jpg was not modified
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
      Request finished in 6.0563ms 304 image/jpeg

How do i resolve this issue ? My project can be found here

*Originally created by @AndrewKralovec on 9/7/2016* I create a asp.net core/ Angular2 application using your yo project generator. It runs fine when i run it on my computer. However, when i add it to my sever and run the `dotnet run` and have it on port 5000, i am unable to access it. When i run node and other projects on my server it works just fine. Which leads me to believe that there is something wrong with the project. I read a post saying that its more likely is that your app is only binding to the localhost address (i.e. 127.0.0.1) and not the public interface. and to add `dotnet run --server.urls=http://0.0.0.0:5000` , but when i run that i get ``` info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1] Request starting HTTP/1.1 GET http://localhost:5000/ info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[1] Executing action method BlueWolf.Controllers.HomeController.Index (AndrewKralovec) with arguments () - ModelState is Valid info: Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ViewResultExecutor[1] Executing ViewResult, running view at path /Views/Home/Index.cshtml. info: Microsoft.Extensions.DependencyInjection.DataProtectionServices[0] User profile is available. Using '/home/andrew/.aspnet/DataProtection-Keys' as key repository; keys will not be encrypted at rest. info: Microsoft.AspNetCore.NodeServices[0] Angular 2 is running in the development mode. Call enableProdMode() to enable the production mode. fail: Microsoft.AspNetCore.NodeServices[0] EXCEPTION: ReferenceError: localStorage is not defined fail: Microsoft.AspNetCore.NodeServices[0] STACKTRACE: fail: Microsoft.AspNetCore.NodeServices[0] ReferenceError: localStorage is not defined at LoginService.isLoggedIn (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/ClientApp/boot-server.js:1:2817) at Home.ngOnInit (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/ClientApp/boot-server.js:1:25440) at DebugAppView._View_Home_Host0.detectChangesInternal (Home.template.js:35:73) at DebugAppView.AppView.detectChanges (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/@angular/core/src/linker/view.js:243:14) at DebugAppView.detectChanges (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/@angular/core/src/linker/view.js:348:44) at DebugAppView.AppView.detectContentChildrenChanges (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/@angular/core/src/linker/view.js:261:19) at DebugAppView.AppView.detectChangesInternal (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/@angular/core/src/linker/view.js:253:14) at DebugAppView.AppView.detectChanges (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/@angular/core/src/linker/view.js:243:14) at DebugAppView.detectChanges (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/@angular/core/src/linker/view.js:348:44) at DebugAppView.AppView.detectViewChildrenChanges (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/@angular/core/src/linker/view.js:269:19) ------------- Elapsed: 3 ms; At: Wed Sep 07 2016 06:44:04 GMT-0500 (CDT) ------------- at Object.Zone.longStackTraceZoneSpec.onScheduleTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/long-stack-trace-zone.js:111:23) at ZoneDelegate.scheduleTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:300:50) at Zone.scheduleMicroTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:237:40) at scheduleResolveOrReject (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:547:15) at resolvePromise (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:511:22) at /home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:493:14 at /home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/@angular/router/src/router.js:349:17 at ZoneDelegate.invoke (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:290:29) ------------- Elapsed: 2 ms; At: Wed Sep 07 2016 06:44:04 GMT-0500 (CDT) ------------- at Object.Zone.longStackTraceZoneSpec.onScheduleTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/long-stack-trace-zone.js:111:23) at ZoneDelegate.scheduleTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:300:50) at Zone.scheduleMicroTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:237:40) at scheduleResolveOrReject (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:547:15) at resolvePromise (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:511:22) at SafeSubscriber._complete (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:493:14) at SafeSubscriber.__tryOrUnsub (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/rxjs/Subscriber.js:225:16) at SafeSubscriber.complete (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/rxjs/Subscriber.js:210:26) ------------- Elapsed: 27 ms; At: Wed Sep 07 2016 06:44:04 GMT-0500 (CDT) ------------- at Object.Zone.longStackTraceZoneSpec.onScheduleTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/long-stack-trace-zone.js:111:23) at ZoneDelegate.scheduleTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:300:50) at Zone.scheduleMicroTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:237:40) at scheduleResolveOrReject (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:547:15) at resolvePromise (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:511:22) at /home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:493:14 at SafeSubscriber._complete (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/rxjs/operator/toPromise.js:24:122) at SafeSubscriber.__tryOrUnsub (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/rxjs/Subscriber.js:225:16) ------------- Elapsed: 0 ms; At: Wed Sep 07 2016 06:44:04 GMT-0500 (CDT) ------------- at Object.Zone.longStackTraceZoneSpec.onScheduleTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/long-stack-trace-zone.js:111:23) at ZoneDelegate.scheduleTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:300:50) at Zone.scheduleMicroTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:237:40) at scheduleResolveOrReject (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:547:15) at resolvePromise (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:511:22) at /home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:549:18 at ZoneDelegate.invokeTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:323:38) at Object.NgZoneImpl.inner.inner.fork.onInvokeTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/@angular/core/src/zone/ng_zone_impl.js:44:41) ------------- Elapsed: 0 ms; At: Wed Sep 07 2016 06:44:04 GMT-0500 (CDT) ------------- at Object.Zone.longStackTraceZoneSpec.onScheduleTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/long-stack-trace-zone.js:111:23) at ZoneDelegate.scheduleTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:300:50) at Zone.scheduleMicroTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:237:40) at scheduleResolveOrReject (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:547:15) at resolvePromise (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:511:22) at /home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:549:18 at ZoneDelegate.invokeTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:323:38) at Object.NgZoneImpl.inner.inner.fork.onInvokeTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/@angular/core/src/zone/ng_zone_impl.js:44:41) ------------- Elapsed: 54 ms; At: Wed Sep 07 2016 06:44:04 GMT-0500 (CDT) ------------- at Object.Zone.longStackTraceZoneSpec.onScheduleTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/long-stack-trace-zone.js:111:23) at ZoneDelegate.scheduleTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:300:50) at Zone.scheduleMicroTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:237:40) at scheduleResolveOrReject (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:547:15) at ZoneAwarePromise.then (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:625:18) at RuntimeCompiler.compileComponentAsync (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/@angular/compiler/src/runtime_compiler.js:50:45) at RuntimeCompiler.resolveComponent (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/@angular/compiler/src/runtime_compiler.js:39:21) at resolveComponent (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/@angular/router/src/resolve.js:35:25) ------------- Elapsed: 18 ms; At: Wed Sep 07 2016 06:44:04 GMT-0500 (CDT) ------------- at Object.Zone.longStackTraceZoneSpec.onScheduleTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/long-stack-trace-zone.js:111:23) at ZoneDelegate.scheduleTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:300:50) at Zone.scheduleMicroTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:237:40) at scheduleResolveOrReject (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:547:15) at ZoneAwarePromise.then (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:625:18) at Router.scheduleNavigation (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/@angular/router/src/router.js:278:34) at Router.navigateByUrl (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/@angular/router/src/router.js:244:25) at Router.initialNavigation (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/@angular/router/src/router.js:140:14) ------------- Elapsed: 491 ms; At: Wed Sep 07 2016 06:44:04 GMT-0500 (CDT) ------------- at Object.Zone.longStackTraceZoneSpec.onScheduleTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/long-stack-trace-zone.js:111:23) at ZoneDelegate.scheduleTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:300:50) at Zone.scheduleMacroTask (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:240:40) at /home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:683:30 at setTimeout (eval at createNamedFn (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/zone.js/dist/zone-node.js:1000:18), <anonymous>:3:37) at setupRouterInitializer (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/@angular/router/src/common_router_providers.js:39:5) at ReflectiveInjector_._instantiate (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/@angular/core/src/di/reflective_injector.js:698:27) at ReflectiveInjector_._instantiateProvider (/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/node_modules/@angular/core/src/di/reflective_injector.js:631:31) info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[2] Executed action BlueWolf.Controllers.HomeController.Index (AndrewKralovec) in 38108.7536ms info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2] Request finished in 39014.9737ms 200 text/html; charset=utf-8 info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1] Request starting HTTP/1.1 GET http://localhost:5000/dist/main.js?v=4n0eskTDCwzX-wG5AzFi94MrB5uBlBf1ms1dhBe3a1Q info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1] Request starting HTTP/1.1 GET http://localhost:5000/dist/vendor.js?v=vJS8eKn1wDZpNKE-SYnibVC_KjaoGWg8SWZh1HVH2iY info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2] Sending file. Request path: '/dist/vendor.js'. Physical path: '/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/wwwroot/dist/vendor.js' info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2] Sending file. Request path: '/dist/main.js'. Physical path: '/home/andrew/workspace/CSharp/LinuxASP/AndrewKralovec/wwwroot/dist/main.js' info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2] Request finished in 151.1644ms 200 application/javascript info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2] Request finished in 84.1983ms 200 application/javascript info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1] Request starting HTTP/1.1 GET http://localhost:5000/images/Front.jpg info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[6] The file /images/Front.jpg was not modified info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2] Request finished in 6.0563ms 304 image/jpeg ``` How do i resolve this issue ? My project can be found [here](https://github.com/AndrewKralovec/Forecast-Report)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#1397
No description provided.