gulpvisual-studio-2017gulp-sass

ENOENT: no such file or directory, scandir 'C:\code\myproj\content\node_modules\gulp-sass\node_modules\node-sass\vendor'


Updated Visual Studio and now getting Error message when try and build project:

ENOENT: no such file or directory, scandir 'C:\code\myproj\content\node_modules\gulp-sass\node_modules\node-sass\vendor'

In package.json I have : "gulp-sass": "^3.1.0",

I have checked path and sure enough no vendor folder? But how to resolve this?


Solution

  • I had to rebuild packages then in Visual Studio went to Tools -> options -> Projects and Solutions -> Web Package Management

    I had to move .\node_modules\.bin to top of list in Location of External Tools: section.