mbolaric / vscode-tasks-panel

List of gulp or grunt tasks
MIT License
3 stars 1 forks source link

Unable to find gulp-cli #4

Closed mikeerickson closed 4 years ago

mikeerickson commented 5 years ago

Receive the following error when Tasks are loaded. FWIW, the gulp-cli is installed globally as it should be

Error: Cannot find module 'gulp-cli'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:603:15)
    at Function.Module._load (internal/modules/cjs/loader.js:529:25)
    at Module.require (internal/modules/cjs/loader.js:657:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at Object.<anonymous> (/Users/mikee/Documents/code/js/gulp-4/node_modules/.bin/gulp:3:1)
    at Module._compile (internal/modules/cjs/loader.js:721:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:732:10)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:560:12)
    at Function.Module._load (internal/modules/cjs/loader.js:552:3)

image

mbolaric commented 5 years ago

I cannot reproduce this behavior on my computer (Ubuntu 18.04.1, VSCode 1.32.3). I have same configuration, gulp-cli installed globally and gulp 4 installed with npm locally.

I need more information or sample project that have this problem.

image

mikeerickson commented 5 years ago

Yes, that is what appears when I call gulp —version. I will try and see if I can find conflict