node.js - Grunt Warning: Object #<Object> has no method 'isAbsolute' -
this error shows when running grunt responsive-images-extender plugin. configuration:
responsive_images_extender: { target: { options: { sizes: [{ selector: 'img', sizelist: [{ cond: 'min-width: 300px', size: '50vw' }, { cond: 'min-width: 700px', size: '70vw' }, { cond: 'default', size: '100vw' }] }] }, files: [{ expand: true, src: ['**/*.{html,htm,php}'], cwd: 'src/', dest: 'dist/' }] } }
even options blank, same error. causes error? feel typo, don't see it.
it because using old version of nodejs. function deprecated , updating nodejs solve issue.
Comments
Post a Comment