-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Gulp does not work with PnP #6516
Comments
Can you make a repro PR on the pnp-sample-app repository? I've tested with Gulp before so there's likely an environment factor somewhere |
Here's the Gulpfile I used: https://github.com/yarnpkg/pnp-sample-app/blob/master/gulpfile.js |
I can reproduce in pnp-sample-app,
BTW with .pnp.js generated by the yarn.js in the repository, I can run gulp successfully with yarn v1.12.1. |
Given
"all versions":
Hope this helps. |
Thanks! Will take a look |
Will be fixed by #6623 👍 |
Thanks @arcanis I see that your PR has been merged. Do you know if there is going to be a patch version bump of yarn to 1.12.2 that includes this? We just updated our yarn version today and this broke our builds. |
Hey @brianespinosa ! There are a few other fixes I'd prefer to land before releasing the 1.12.2 (ETA ~ a week, I'd say), but in the meantime you can use our nightly build, which already includes it 🙂 Would that work for you? |
@arcanis ~a week should be fine. I just updated the config in our package.json telling it to not use pnp for now and everything is fine again. I can give it another shot when the patch lands. Thanks again! |
@arcanis I just got around to testing this again. I am now running yarn 1.13.0 and when I run
|
Ah! The trick here was to delete the old |
same here |
Closing as fixed in #6623 |
Now yarn reached at it's version 3.0.0 and gulp reached at 4.0.2 To run gulp in yarn we have to change yarn's mode pnp to node-modules as follow.
But we lost plug and play feature of yarn. |
Same here. STILL doesn't work |
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
"start": "gulp"
andyarn start
does not work with Yarn PnPIf the current behavior is a bug, please provide the steps to reproduce.
Create a new project with Gulp 3.9.1 and set the start script to
gulp
, and create a basic gulpfile.What is the expected behavior?
Gulp should start.
Please mention your node.js, yarn and operating system version.
The text was updated successfully, but these errors were encountered: