-
Notifications
You must be signed in to change notification settings - Fork 116
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
Error: "no writecb in Transform class" #111
Comments
Some further testing revealed that the callback that is passed to less.render is being called multiple times (with err being false). Calling less.render with a promise rather than a callback seems to fix the problem. |
Please update to the newest version and confirm that these commits fixed your issue: #113 |
Thanks @stevelacy , I have just tested v2.0.1 that includes these commits and the issue has indeed been fixed. |
We seem to be getting this same error with v3.0.1, is that possible? |
@jbcpollak Wipe node modules and reinstall maybe? |
I guess we are seeing a separate bug with similar symptoms. It seems to be caused by the use of the CSS3 It looks like gulp-less depends on less ^2.1.1 and support for When we removed |
@jbcpollak done |
Also you can just npm update, we use the range ^2.1.0 which includes 2.4.0 |
Seeing this issue with |
@jiaweihli So open it on gulp-autoprefixer 🌴 |
I get this same error with gulp-less 3.0.3, but not if I go back to 3.0.2. I'm not super familiar with the npm module open source world - what can I provide that is useful in terms of information?
Obviously I can open a new ticket, as this one is closed, but thought someone here might see a notification and already know why I'm seeing this and why it's not really an issue :P |
This is a weird thing that pops up sometimes where npm fails to install a dependency correctly (I think readable-stream). |
I had this issue when used old version of nodejs (0.10). Resolved with upgrading it to 0.12 |
Upgrading node did the trick for me too. |
I am seeing this issue! Using
Any ideas? Thanks! |
Same here @sbhaktha |
Ok updating nodejs fixed it |
I got this problem after updating to gulp 4 🤔 |
Me too. |
I was able to fix this by re-installing Ruby with devkit and through the ruby command prompt run |
The error "no writecb in Transform class" is being thrown seemingly at random by the following task:
After some searching I found the following issue that suggested that this particular error is caused by calling the callback function multiple times: geopipes/elasticsearch-backend#1
After placing some console.log lines in the gulp-less code it seems that the following part is to blame:
(index.js - line 68 - version 1.3.7)
In my case this callback is being called three times, the later two producing the error.
The text was updated successfully, but these errors were encountered: