Error: filter not found: reject
aboutjquery opened this issue · 2 comments
aboutjquery commented
I am using gulp-nunjucks-render
and when I use the following code it returns this error.
Error: filter not found: reject
{% set numbers=[0, 1, 2, 3, 4, 5] %}
{{ numbers | reject("odd") | join }}
Is it because the plugin I'm using is too old? It was last updated 3 years ago.
Does it matter? If that's the reason I probably shouldn't be asking here, but I'm really wondering what plugins could replace it?
thank you all.
aboutjquery commented
reject
is supported from v3.2.2
gulp-nunjucks-render
package.json
show "nunjucks": "^3.1.2"
So the problem should be as you said, thank you, it seems to wait for the author of the plugin to update. :(
Thanks you.