Closed fschlaef closed 5 years ago
I have the same situation
Does this still happen with the latest Node.js 8.x/10.x?
I tried with 10.12 and gulp-rev 8.1.1 and 9.0.0 and everything works fine.
Weird thing is, I actually updated gulp-rev to 8.1.1 two months ago without noticing it, and it worked fine with node 9.11.1, which is exactly the same configuration I had when I opened the bug.
Anyway it works, I close this issue.
Description
rev.manifest() "crashes" (but doesn't actually show any error) when used.
Steps to reproduce
This is because of line 156 :
This line should work, according to Node documentation : https://nodejs.org/api/buffer.html#buffer_class_method_buffer_from_string_encoding
but it does not. I tried Node 8.9.1 and 9.11.1, same result.
However, the following works :
This method is marked as Deprecated though : https://nodejs.org/api/buffer.html#buffer_new_buffer_string_encoding
Any ideas ? In the meantime, I'm stuck with gulp-rev 7.1.2 :(