Open YAJeff opened 6 years ago
My only guess is that the application still isn't being packaged properly at build time. Looks like you got past some of the npm insanity to get a functioning binary package that doesn't crash on startup, but there's still some module that isn't being packaged? @dbreshears do you know anyone that understands this angular template?
Which version of Visual Studio 2017 do you have installed? I just tried the default scenario with both the new .NET Core 2.0 Angular service template as well as a the .NET Framework Stateless ASP.NET Core Angular service template, and they built and deployed fine on 6.2.
Do you also see this outside Service Fabric context via the general web templates?
Can you try 15.7.4 if you are not on that version? Maybe it is related to Node.js version which I have v8.11.1 installed.
I'm on Visual Studio 15.7.4 & v8.11.3
I did experience the fiasco with the release/unrelease/re-release of 6.2. Is it possible my templates are somehow corrupt?
+1
Tried multiple times generating this from the project templates in Visual Studio.
Visual Studio build waits indefinitely for NPM.cmd install to execute. Fixed this by Closing Visual Studio, deleting the npm-shrinkwrap.json file and running
npm install
from the project folder to fix.Deployment fails. Service fabric application type shows up, but nothing underneath it. Here's the error that caught my attention in the build process:
Fixed this by closing Visual Studio and running:
Deployment succeeds but app just starts crashing over and over again. Here's the error I get from the Service Fabric Explorer:
Fixed this by closing Visual Studio and running:
Everything starts and app appears to be healthy within Service Fabric Explorer. But visiting the root URL, I get this error:
Attempted to fix this by changing this (in the webpack.config.js file):
to this:
With no luck :( Please help. I don't think using the default Service Fabric Angular template should be this difficult.