S
S
Sodasss2022-01-29 21:27:00
Node.js
Sodasss, 2022-01-29 21:27:00

How to fix gulp-imagemin error?

Hello dear sages. I encountered an error when installing Gulp (gulp-imagemin ) I
61f586377fec6530957780.png
downloaded the finished initial assembly from here and installed it according to the description.
https://github.com/dDenysS/gulp-template
Tell me how you can solve the problem, all that Google about this error did not help.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Rag'n' Code Man, 2022-01-30
@iDmitriyWinX

What problems can there be? :)
https://www.npmjs.com/package/gulp-imagemin
An interesting point in your article about saving dependencies to the repository :)

L
Leonid Yakovlev, 2022-01-31
@deleo547

Roll back to version ^7.1.0
Add "type": "module" to package.json and remake entire gulpfile.js to import.
or do like Anton Litvinenko

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question