Closed prindacerk closed 6 years ago
It seems the issue is resolved based on the instructions for another topic. https://github.com/madskristensen/NpmTaskRunner/issues/47#issuecomment-277488231
By doing what is instructed there as the solution, this issue is resolved as well.
Installed product versions
Description
Created a Project using the .NET Core Templates for Vue.js. Tried building and compiling. It works fine. It builds the js files and everything. Then I updated the packages to the latest versions. Run Webpack in Task Runner again. This time, I get Syntax errors on the html files. I haven't changed the code at all. Just updated the package versions. So I have no idea why it is not compiling anymore.
Steps to recreate
1) Run
dotnet new --install Microsoft.AspNetCore.SpaTemplates::*
in command line to update the templates. 2) Rundotnet new vue
in the folder where project should be created. 3) Open project in Visual Studio. 4) Use Webpack Task Runner to Run - Development. It should compile and output successfully. 5) Update the packages to the following versions.6) Use Webpack Task Runner to Run - Development. It will throw syntax error at this stage.
Current behavior
It seems to compile the js files successfully but the html files get thrown with an error. The error message I get is the following.
Expected behavior
I don't know why this is happening and how to resolve it. But if I execute the commands manually in Powershell, it runs successfully.
So I don't think it's the webpack itself is the issue. It's something else and I need your help determining what the issue and how to resolve it.