Skip to content

use gulp#4 #1183

Closed
Closed

Description

@rolandjitsu

I was just trying to use gulp 4 instead of 3 in the gulpfile the ionic start command generates, but it looks like your CLI is dependent on version 3 and it cannot find some tasks.

Note that using v4 you get the advantage of dropping some deps, such as run-sequence, since v4 already provides a way to run things in series or parallel.

I get:

TypeError: Cannot read property 'serve:before' of undefined
    at Object.runWithGulp (/Users/rolandjitsu/Projects/infarm/operator/node_modules/ionic/lib/cli.js:217:17)
    at Object.run (/Users/rolandjitsu/Projects/infarm/operator/node_modules/ionic/lib/cli.js:190:16)
    at Object.<anonymous> (/Users/rolandjitsu/Projects/infarm/operator/node_modules/ionic/bin/ionic:13:10)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)
    at Module.runMain (module.js:575:10)
    at run (bootstrap_node.js:352:7)

I could submit a pr if this would be an option, should be a straight forward migration.

Activity

  1. loki1 commented on Aug 14, 2016

    @loki1

    +1

  2. armenbadalyan commented on Aug 17, 2016

    @armenbadalyan

    +1

  3. martinmine commented on Oct 21, 2016

    @martinmine

    +1

  4. brunodeprez commented on Dec 5, 2016

    @brunodeprez

    +1

  5. rolandjitsu commented on Dec 6, 2016

    @rolandjitsu
    Author

    I'm closing this as Ionic no longer uses Gulp, there is ionic-app-scripts as replacement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions