Skip to content

Gulp 4 (alpha) fails #13

@mtompkins

Description

@mtompkins

Understandable as Gulp 4 hasn't been officially released, however in testing the following failure is emitted:

/home/xxx/.npm-global/lib/node_modules/gulp-ssh-deploy/dist/index.js:93
    if (!self.mGulp.tasks.hasOwnProperty(self.mOptions.package_task)) {
                         ^

TypeError: Cannot read property 'hasOwnProperty' of undefined
    at GulpSSHDeploy (/home/xxx/.npm-global/lib/node_modules/gulp-ssh-deploy/dist/index.js:93:26)
    at Object.<anonymous> (/home/xxx/Websites/xxx-me-2/gulp_tasks/ssh.js:22:1)
    at Module._compile (module.js:571:32)
    at loader (/home/xxx/Websites/xxx-me-2/node_modules/babel-register/lib/node.js:144:5)
    at Object.require.extensions.(anonymous function) [as .js] (/home/xxx/Websites/xxx-me-2/node_modules/babel-register/lib/node.js:154:7)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Function.Module._load (/home/xxx/Websites/xxx-me-2/node_modules/gulp-hub/lib/load-subfile.js:26:32)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at module.exports (/home/xxx/Websites/xxx-me-2/node_modules/gulp-hub/lib/load-subfile.js:30:4)
    at /home/xxx/Websites/xxx-me-2/node_modules/gulp-hub/lib/hub-registry.js:57:30
    at arrayEach (/home/xxx/Websites/xxx-me-2/node_modules/gulp-hub/node_modules/lodash/index.js:1289:13)
    at Function.<anonymous> (/home/xxx/Websites/xxx-me-2/node_modules/gulp-hub/node_modules/lodash/index.js:3345:13)
    at HubRegistry.init (/home/xxx/Websites/xxx-me-2/node_modules/gulp-hub/lib/hub-registry.js:55:4)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions