Hi folks,
I am using Asp.net core 2 with Angular project type. I am getting error message from Task runner explorer and it says:
c:\Users\.......\ node_modules\@ngtools\webpack\src\plugin.js:8 const { __NGTOOLS_PRIVATE_API_2 } = require('@angular/compiler-cli'); SyntaxError: Unexpected token { at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:373:25) at Object.Module._extensions..js (module.js:404:10) at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) at Module.require (module.js:353:17) at require (internal/module.js:12:17) at Object.<anonymous> (C:\Users\......\node_modules\@ngtools\webpack\src\index.js:30:10) at Module._compile (module.js:397:26) at Object.Module._extensions..js (module.js:404:10) Process terminated with code 1.
How do i fix it?
I am waiting for your response.
Thanks in advance!