GithubHelp home page GithubHelp logo

Comments (10)

rodrigobacelli avatar rodrigobacelli commented on June 10, 2024

+1

from gulp-image.

lucasruy avatar lucasruy commented on June 10, 2024

+1

from gulp-image.

dkimot avatar dkimot commented on June 10, 2024

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.

onezerodigits avatar onezerodigits commented on June 10, 2024

+1

from gulp-image.

rvanbaalen avatar rvanbaalen commented on June 10, 2024

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.

tmccarten avatar tmccarten commented on June 10, 2024

Just had this error. Only seems to affect particular images?

from gulp-image.

j-tap avatar j-tap commented on June 10, 2024

+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.

AlexMachin1997 avatar AlexMachin1997 commented on June 10, 2024

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.

AlexMachin1997 avatar AlexMachin1997 commented on June 10, 2024

This might be the issue.....
image

from gulp-image.

 avatar commented on June 10, 2024

@AlexMachin1997 Your import name and the usage name is not the same.

from gulp-image.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.