netlify-plugin-image-optim icon indicating copy to clipboard operation
netlify-plugin-image-optim copied to clipboard

Plugin "netlify-plugin-image-optim" internal error

Open kartikkasat opened this issue 4 years ago • 8 comments

Plugin "netlify-plugin-image-optim" internal error

TypeError: Cannot set property 'post' of undefined

In "onPostBuild" event in "netlify-plugin-image-optim" from Netlify app at /opt/build/repo/.netlify/plugins/node_modules/netlify-plugin-image-optim/index.js:38:26 at Array.map () at onPostBuild (/opt/build/repo/.netlify/plugins/node_modules/netlify-plugin-image-optim/index.js:34:22) at async Object.run (/opt/buildhome/.netlify-build-nvm/versions/node/v12.16.3/lib/node_modules/@netlify/build/src/plugins/child/run.js:20:3) at async handleEvent (/opt/buildhome/.netlify-build-nvm/versions/node/v12.16.3/lib/node_modules/@netlify/build/src/plugins/child/main.js:36:38) at async process. (/opt/buildhome/.netlify-build-nvm/versions/node/v12.16.3/lib/node_modules/@netlify/build/src/plugins/ipc.js:103:16)

kartikkasat avatar May 29 '21 15:05 kartikkasat

I am also getting this issue.

BitesizedLion avatar May 30 '21 21:05 BitesizedLion

I'm also getting this exact error since yesterday (previous successful deploy was 27 May 2021 @ 15:30 BST (GMT+1).

If it helps, I'm also running these Netlify plugins:

Inline critical CSS Minify HTML Sitemap Submit sitemap

I've had to disable the Image Optim plugin for now, with the performance hit that comes with that.

jaymiethomas avatar Jun 03 '21 09:06 jaymiethomas

I've been having this issue for a month now. I don't know why, because it was working great, and I didn't modify the site, and suddenly stopped working.

Maybe it's a bug in the lastest publish? Idk.

Galileosites avatar Jun 24 '21 14:06 Galileosites

@Galileosites I believe the plugin has remained static. I think something on the underlying Netlify server image has changed and is now incompatible with the plugin.

jaymiethomas avatar Jun 24 '21 14:06 jaymiethomas

This is happening to me as well, any fixes on the way?

ryandotfurrer avatar Jul 09 '21 17:07 ryandotfurrer

This is happening to me as well, any fixes on the way?

As far as I know, no. Just disable the plugin & possibly find an alternative.

BitesizedLion avatar Jul 09 '21 20:07 BitesizedLion

This has been impacting me for ages as well. Not sure why it suddenly broke - thought I'd done something @chrisdwheatley are you aware of this?

Edstub207 avatar Sep 04 '21 16:09 Edstub207

This has been impacting me for ages as well. Not sure why it suddenly broke - thought I'd done something @chrisdwheatley are you aware of this?

Don't bother, author seems inactive, no Github activity since April.

BitesizedLion avatar Sep 04 '21 17:09 BitesizedLion