Skip to content

Ionic 1 does not run CLI commands such as ionic info or ionic build ios #987

@jgw96

Description

@jgw96

From @shotbyabel on May 6, 2016 18:36

Short description of the problem:

Not sure if me updating to Node 6 is causing all this.. but I am working on an Ionic 1 app with a remote team and lately our versions have not liked each other. I was wondering if the fact that I have also been working on Ionic 2 projects for whatever reason my CLI "thinks" these apps are also Ionic 2 and there for is shooting me the error below? (i know it makes no sense but I have no clue)

What behavior are you expecting?

I want to be able to run ionic commands like ionic info , ionic build ios etc.. and not get this error.. or message..

issue in detail

insert any relevant code between the above and below backticks

mymac ~/code/92_AAC/newApp on master[!]
$ ionic build ios
WARN: ionic.project has been renamed to ionic.config.json, please rename it.
Uh oh! Looks like you're missing a module in your gulpfile:
Cannot find module 'gulp'

Do you need to run `npm install`?

Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)

Which Ionic Version? 1.x or 2.x

Plunker that shows an example of your issue

For Ionic 1 issues - http://plnkr.co/edit/Xo1QyAUx35ny1Xf9ODHx?p=preview

For Ionic 2 issues - http://plnkr.co/edit/L8JN6w5mqwbMY2E14dbk?p=preview

Run ionic info from terminal/cmd prompt: (paste output below)

Copied from original issue: ionic-team/ionic-framework#6461

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions