November 26, 2015

[SOLVED] Gulp. No path specified! Can not get relative

If you getting something like this on image optimization task

/xxx/node_modules/gulp/node_modules/vinyl-fs/node_modules/vinyl/index.js:153
    if (!this.path) throw new Error('No path specified! Can not get relative.'


Check if you have files/folders with spaces

$ find  . -type f -name '*.*' | grep " "


Rename the files/folders

try one more time

No comments:

Post a Comment