Description
Hi,
What I have done:
Reinstalled Visual Studio 2017
Reinstalled NodeJs
Downloaded aspnetcode-angular-universal
Opened it with Visual Studio
Added 'c:\program files\nodejs' in Visual Studio > Tools > Options >Projects and Solutions > Web Package Management > External Web Tools
Then I hit 'Run' and in the end Visual Studio comes up with:
"MSB3073 - The command 'node node_modules/webpack/bin/webpack.js' exited with code 2".
I have tried numerious things but I cannot get past this error. When I hit 'run' again. The project launces and works (ssr) but after a second or so an overlay pops up with some errors (see screenshot)
When I remove this overlay (by setting it to display:none
in Chrome dev tools) the project itself (Angular app) works without problems.
How can I fix this error?
----------EDIT------------
If I just delete the file stated in the error (counter.component.spec.ts) it does works. Is there something wrong with this file?