1

loading my project in VS2019 i get the error as in the picture below. Loading the project in VS 2017, i do not get this error.

enter image description here

Running the gulpfile manually, it is ok like this, proving that there is no error with the file: enter image description here

Starting the project (Launching the local Web-server), the solution will run, and web-site start. But the error is very annoying, how can i fix the error? It must be VS2019 configuration that is off/wrong somewhere?

Running gulp -v in the local repo: enter image description here And comparing with project package.sjon: enter image description here

And in solution tree: enter image description here

There is a difference, but that should be equal for VS2017...? Or is there a conflict?

I have tried:

Adding a specific path: Task Runner Explorer window had "failed to load" under my Gulpfile.js and none of the build processes were listed

Installed gulp globally.

otk
  • 357
  • 5
  • 23

1 Answers1

0

Updating gulp from 3.9.1 to 4.0.2 solved this for me. Dont know why VS-2019 would complain about this. I had some bluescreens after a windows-update during (unsaved) work on this solution some days ago. So maybe some corruption of files etc... Updateing in this context means

  1. To uninstall 3.9.1
  2. Install 4.0.2
otk
  • 357
  • 5
  • 23