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.
Asked
Active
Viewed 2,840 times
1 Answers
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
-
Thanks for your sharing, you could mark it as the answer to help others. – Jiale Xue - MSFT Dec 15 '22 at 09:07