Comments (10)
+1
from gulp-image.
+1
from gulp-image.
I'm having the same problem. I forced Node to crash on unhandled promise rejections (https://medium.com/@dtinth/making-unhandled-promise-rejections-crash-the-node-js-process-ffc27cfcc9dd) and I got back this:
/usr/src/app/gulpfile.js:26 process.on('unhandledRejection', (up) => { throw up }); ^ Error: spawn /usr/src/app/node_modules/pngquant-bin/vendor/pngquant ENOENT at _errnoException (util.js:1022:11) at Process.ChildProcess._handle.onexit (internal/child_process.js:190:19) at onErrorNT (internal/child_process.js:372:16) at _combinedTickCallback (internal/process/next_tick.js:138:11) at process._tickCallback (internal/process/next_tick.js:180:9)
Give it a shot so we can hopefully figure this out.
I'm also running this inside of a Docker container as well.
from gulp-image.
+1
from gulp-image.
Any update on this? I'm currently experiencing this as well by 2/4 PNG's I'm trying to run through gulp-image.
from gulp-image.
Just had this error. Only seems to affect particular images?
from gulp-image.
+1
Image png format:
(node:19220) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): [object Object] (node:19220) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
from gulp-image.
Im also experiencing this issue with the latest version installed.
(node:15748) UnhandledPromiseRejectionWarning: Error: spawn C:\Web Development\Yelpcamp\node_modules\mozjpeg\vendor\cjpeg.exe ENOENT
at notFoundError (C:\Web Development\Yelpcamp\node_modules\execa\node_modules\cross-spawn\lib\enoent.js:11:11)
at verifyENOENT (C:\Web Development\Yelpcamp\node_modules\execa\node_modules\cross-spawn\lib\enoent.js:46:16)
at ChildProcess.cp.emit (C:\Web Development\Yelpcamp\node_modules\execa\node_modules\cross-spawn\lib\enoent.js:33:19)
at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
(node:15748) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:15748) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:15748) UnhandledPromiseRejectionWarning: Error: spawn C:\Web Development\Yelpcamp\node_modules\pngquant-bin\vendor\pngquant.exe ENOENT
at notFoundError (C:\Web Development\Yelpcamp\node_modules\execa\node_modules\cross-spawn\lib\enoent.js:11:11)
at verifyENOENT (C:\Web Development\Yelpcamp\node_modules\execa\node_modules\cross-spawn\lib\enoent.js:46:16)
at ChildProcess.cp.emit (C:\Web Development\Yelpcamp\node_modules\execa\node_modules\cross-spawn\lib\enoent.js:33:19)
at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
(node:15748) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 4)
from gulp-image.
from gulp-image.
@AlexMachin1997 Your import name and the usage name is not the same.
from gulp-image.
Related Issues (20)
- error after updating dependencies HOT 1
- Publish new version and run npm release HOT 2
- Error [ERR_REQUIRE_ESM]: Must use import to load ES Module:
- Wrong external dependencies for Ubuntu/Debian
- 6.3.1 doesn't work with the esm module loader HOT 2
- Don't work - Error [ERR_REQUIRE_ESM]: Must use import to load ES Module HOT 5
- Regression from version 4.1.0 to 4.2.0, install failing at mozjpeg HOT 7
- NPM 5.6.0 can't install gulp-image HOT 1
- Is it possible to have a node version? (without gulp) HOT 3
- Replace deprecated dependecy gulp-util HOT 1
- Can't change quality setting for mozjpeg HOT 2
- pngquant --speed does not do anything HOT 3
- Request to remove gulp-util HOT 2
- Getting a deprecation warning when installing HOT 2
- I don't have image type so how can I compressed?? when I compress with image type its working fine.
- jpeg HOT 1
- Npm install error HOT 1
- withMetadata HOT 4
- The output is different between window and mac HOT 5
- PNG HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gulp-image.