2

One day after pulling commits from upstream and run the C# solution (projects) I got this error message in the title. The compilation was successful completely but at run time I got this error see attachment.

enter image description here

General Grievance
  • 4,555
  • 31
  • 31
  • 45
Dung
  • 19,199
  • 9
  • 59
  • 54

1 Answers1

2

The solution is to clean your projects/solution including docker-compose project. If after doing all this and it still does not work, you will have to into your package-lock.json and ensure that the changes you made before this error happens reflected and up to date. In my case specifically I changed the project folder name and that was not updated in package-lock.json in directives "name":

{ "name": "NameChanged", "lockfileVersion": 2, "requires": true, "packages": {

That is it!

(the clean and rebuild should take care of it).

Dung
  • 19,199
  • 9
  • 59
  • 54