Angular Compiler was detected but it was an instance of the wrong class

0

I was currently working on a project, consuming an api rest from the angular, but in the course, I'm encountering an error that is returning me that I have 2 webpack packages inside my application.

I tried to find some solution on the case, but none successfully. I have done everything, I delete the folders (nodes_modules and packaje-lock.json - according to some situations similar to mine, but I can not really figure out what is causing this) and install again with npm install, however it returns the same error , below the error screen prints and my package.json.

The version of angular / cli is 6.0.8 according to the listing of the 1st webpack, my ts is in version 2.7.2.

As I mentioned, I delete the files and then install them again according to the prints below, but when I give ng it works again it returns the error.

    
asked by anonymous 10.09.2018 / 19:22

0 answers