Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gulpfile in one place and node modules in another folder. Will this work? #25

Open
KumarSumitD opened this issue Mar 6, 2018 · 0 comments

Comments

@KumarSumitD
Copy link

KumarSumitD commented Mar 6, 2018

HI ,
I think this question has been asked. But just wanted to confirm, if gulp is enhanced a solution.
I have below structure -
Projects

   |
   | ------local-modules
                       |
                       |---------node_modules
   |-------ProjectA
                  |
                  |------ gulpfile.js
  |-------ProjectB
                  |
                  |------ gulpfile.js

This way we have multiple projects, but i want to use only one node modules to speed up the build process through Jenkins, and make structure cleaner.
I have tried multiple things -

  1. Went to gulp folder(node modules) and ran, node gulp.js --gulpfile . Local gulp not found
  2. Went to project folder where gulp file is available and ran, node <gulp.js location> . Local gulp not found

A quick response will be appreciated.
TIA

Sumit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant