-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
3.11.0 version ,gulp-less not work #3470
Comments
We are experiencing the same issue as of today: |
Also reproducible with grunt-contrib-less ("grunt-contrib-less": "2.0.0") which uses "less": "^3.0.4". |
My current solution is to lock the
|
@bigmeow any idea why my CI build is still failing? I run:
but it doesn't seem to be getting the right version even with package.json above. |
In case any one else has this issue, the problem was I was interpreting someone's comment on the gulp-less project as applying to grunt/bower.. however it was the package.json option for yarn (resolutions:). This little trick worked for me to peg the dependent less version to 3.10.3: https://stackoverflow.com/questions/52416312/npm-equivalent-of-yarn-resolutions only thing is you have to get the right directory in your CI path so it can find npx. HTH. |
this doesn't seem to work if less is a dependent package to an installed package, like gulp-less. See my post above about implementing a resolutions tag in package.json for npm. |
Closing as duplicate of #3469 |
in package.json of gulp-less:
The text was updated successfully, but these errors were encountered: