gulp-imagemin: File path length - unable to delete folder on Windows

When working with gulp-imagemin on a Windows machine, the setup of gulp results in a file path that is too long for Windows to be able to delete. This makes it difficult to delete any parent folder containing gulp-imagemin.

Similar problem seen here and now fixed: https://github.com/gulpjs/gulp/issues/630

Can anything be done to fix this?

example

About this issue

  • Original URL
  • State: closed
  • Created 10 years ago
  • Comments: 15 (4 by maintainers)

Most upvoted comments

You can also try SuperDelete (disclaimer: I’m the author): https://github.com/marceln/SuperDelete