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 Task]: Global gulp version being used instead of my packages.json version #7839
Comments
@daveVSTS, can you provide an ETA on this issue? We're currently blocked from getting our CI to work. |
I'm running into exactly the same issue! Any ETA on this? |
@azuredaveops / @bryanmacfarlane, please update us on this issue's ETA, or provide a workaround / Gulp alternative recommendation if fixing is not a priority. We're being flagged for using Gulp 3.x because of its security vulnerabilities, but have no supported upgrade path in Azure DevOps since Gulp 4 isn't supported. |
If you go to your definition's gulp task and expand the Advanced section, there is an edit box for setting the gulp.js location. |
@moswald, not to be rude, but did you read my initial post that says I set this advanced input? Did I set it up wrong? |
Oh! Very sorry, I did not see that. I will reopen this. The value you set is |
@moswald, unfortunately, I don't have control over where Gulp is installed -- NPM installs it in an upstream build pipeline task via my repositories package.json. Let me know if I'm missing something. |
No problem. I was just hoping that it would be a quick thing to test. I'll investigate why this textbox isn't overriding your gulp location. |
@scott-lin My PR 8851 will fix the issue. It will go out with the next version of Azure DevOps. I think we will begin deploying it the week after Thanksgiving. You will have to update your definition to point to the new (preview) version of the Gulp Task. |
@moswald, is the deployment still on for this week? Just trying to get a more accurate ETA. Thanks. |
Yes, we've already deployed to the first ring of accounts. I'll follow up with you offline to find out when exactly you can expect to see it. |
Issue Description
The global version of gulp installed on the agent is being used instead of the version installed via my packages.json. Before the gulp task is run, an npm install task is run successfully targeting the packages.json below. I've confirmed the packages.json version of gulp is installed during the npm step by turning on verbose logging.
My gulpfile.js and packages.json files are at the root of my repo.
Package.json
Task Inputs
Gulp task
Error logs
The text was updated successfully, but these errors were encountered: