D
D
Denis2016-08-20 21:12:53
gulp.js
Denis, 2016-08-20 21:12:53

Gulp modules won't run?

Good evening. I cloned a project that contains Gulp, with written modules for building less, etc. But when I opened the project in WebStorm and opened the Gulp panel, I got a message: Failed to list tasks. I ran the following commands:
1. npm install -g gulp
2. npm install gulp
But in general it didn't help... By clicking on the details link, the following was revealed:
Failed to list gulp tasks in smarttv-main\gulpfile.js: process finished with exit code 1 (a non-zero exit code means an error)
* Edit settings
$ "C:\Program Files (x86)\JetBrains\WebStorm 2016.2\bin\runnerw.exe" "C:\Program Files\nodejs\node. exe" C:\Users\Owner\AppData\Roaming\npm\node_modules\gulp\bin\gulp.js --no-color --gulpfile C:\git-repo\smarttv-main\gulpfile.js --tasks
module .js:329
throw err;
^
Error: Cannot find module 'del'
at Function.Module._resolveFilename (module.js:327:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:355: 17)
at require (internal/module.js:13:17)
at Object. (C:\git-repo\smarttv-main\gulpfile.js:8:11)
at Module._compile (module.js:399:26)
at Object.Module._extensions..js (module.js:406:10 )
at Module.load (module.js:345:32)
at Function.Module._load (module.js:302:12)
at Module.require (module.js:355:17)
at require (internal/module.js :13:17)
Process finished with exit code 1
I don't understand what is the reason for this. Please help me understand.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question