Суть Вопроса:
Пытался настроить Gulp при подключении плагина gulp-file-include
и вызова через командную строку " Gulp "
вылетает такая ошибка!
PS C:\Users\Admin\Desktop\fls_gulp> gulp
TypeError: Assignment to constant variable.
at Object. (C:\Users\Admin\Desktop\fls_gulp\gulpfile.js:33:17)
at Module._compile (internal/modules/cjs/loader.js:1133:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
at Module.load (internal/modules/cjs/loader.js:977:32)
at Function.Module._load (internal/modules/cjs/loader.js:877:14)
at Module.require (internal/modules/cjs/loader.js:1019:19)
at require (internal/modules/cjs/helpers.js:77:18)
at requireOrImport (C:\Users\Admin\AppData\Roaming\npm\node_modules\gulp-cli\lib\shared\require-or-import.js:19:11)
at execute (C:\Users\Admin\AppData\Roaming\npm\node_modules\gulp-cli\lib\versioned\^4.0.0\index.js:37:3)
at Liftoff.handleArguments (C:\Users\Admin\AppData\Roaming\npm\node_modules\gulp-cli\index.js:211:24)
Удалять папку node_modules и файл package-lock пробовал не помагает.
Александр, SyntaxError: Identifier 'fileinclude' has already been declared
at wrapSafe (internal/modules/cjs/loader.js:1047:16)
at Module._compile (internal/modules/cjs/loader.js:1097:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
at Module.load (internal/modules/cjs/loader.js:977:32)
at Function.Module._load (internal/modules/cjs/loader.js:877:14)
at Module.require (internal/modules/cjs/loader.js:1019:19)
at require (internal/modules/cjs/helpers.js:77:18)
at requireOrImport (C:\Users\Admin\AppData\Roaming\npm\node_modules\gulp-cli\lib\shared\require-or-import.js:19:11)
at execute (C:\Users\Admin\AppData\Roaming\npm\node_modules\gulp-cli\lib\versioned\^4.0.0\index.js:37:3)
at Liftoff.handleArguments (C:\Users\Admin\AppData\Roaming\npm\node_modules\gulp-cli\index.js:211:24)