nickdodd79 / vscode-gulptasks

A gulp task visualization and execution extension for Visual Studio Code
MIT License
8 stars 6 forks source link

Error during initialization with fomantic-ui #38

Open jeffrson opened 3 years ago

jeffrson commented 3 years ago

Hi,

I'm using a package called fomantic-ui (https://www.npmjs.com/package/fomantic-ui), which has some sort of installation script that copies gulpfile.js inside. This gulpfile.js contains the following snippet:

var
  ...
  config = require('./tasks/config/user')

While this is okay for the copied version, it fails for the source:

Gulp Tasks: Command failed: gulp --tasks-simple --cwd "..." --gulpfile "...\semantic\tasks\config\npm\gulpfile.js"
Error: Cannot find module './tasks/config/user'

It would be great if you could provide a means of silently ignoring this error. Maybe just print it to the output window instead of a notification?