-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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 and --cwd not working as expected #2126
Comments
trusktr
changed the title
Unable to use --gulpfile and --cwd to do what I need.
--gulpfile and --cwd not working as expected
Feb 11, 2018
Don't believe this is possible because no one ever submitted a patch for gulpjs/liftoff#55. I'm not particularly fond of creating separate gulpfiles in other packages and using them - instead, you should create a Custom Registry for gulp 4 and share that. |
Pinging @sttk to make sure I'm correct on that first part. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Based on #122, I'm trying to use
--gulpfile
and--cwd
without luck.I'm trying to look up folders.
I have this structure:
where
project
is the folder I'm in while at the command line, then I'm running this:but it gives me this error:
although,
gulp
is installed in theproject
:What I'm really trying to do is use Builder to share common configuration across projects and packages, so I'd like to ship a
gulpfile.js
inside an NPM package and share it (this is called an "archetype" in Builder).If I link my "archetype" package into my project, so that it will be inside of
node_modules
, and therefore I am looking down for the gulpfile, still no luck:where
builder-js-package
is the name of my "archetype".Basically,
--gulpfile
and--cwd
just doesn't seem to work like expected.The text was updated successfully, but these errors were encountered: