Open sksallaj82 opened 5 years ago
How are you running your publish script?
Maybe there's something in here that could help make sure it's using the correct json file?
https://github.com/aspnet/AspNetCore/issues/5169
That's strange that Prod builds aren't running correctly in the master branch - nothing for that was changed hmmm
I been using previous versions to this update and switching to production has no problem. However, with the latest build I had last night, I ran into issues where I can't switch to production no matter what I do. It runs all the prod scripts, hides modules, etc. But when I run it, it says:
In the google console.
And when I deploy to IIS, it gives me a server side error:
One or more errors occurred. (Webpack dev middleware failed because of an error while loading 'aspnet-webpack'. Error was: Error: Cannot find module 'aspnet-webpack'
I'm not sure why it still thinks I'm on dev no matter what I do.
I even created this bat file:
And it ran well. All the scripts executed successfully, but I still get the same errors. If I run other projects that I had based on this repo, I didn't run into these issues.