Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70429

Why does ionic-cli need gulp to be installed globally?

$
0
0

@jpoveda wrote:

I noticed if I run ionic serve it complains that I don't have gulp installed globally. If I have it installed globally and not locally, it complains that I don't have it installed locally.

My preference is for the local install without a global install requirement. Why? I work for a software engineering consulting firm where our engineers switch between several projects from different clients with conflicting npm package version requirements. The more local we can make a project, the easier it is for us to switch in between them. We run our tools as npm run gulp etc. so that we're always using the right version of the tool dependencies for that particular project. It also has the added advantage of making it easy to setup a project (npm install) without having to sudo npm install a bunch of global stuff.

I'm wondering why ionic requires gulp to be installed globally at all?

Thanks,

  • jp

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70429

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>