Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

stats is sometimes undefined #14

Open
ehmicky opened this issue Jun 1, 2020 · 0 comments
Open

stats is sometimes undefined #14

ehmicky opened this issue Jun 1, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@ehmicky
Copy link
Contributor

ehmicky commented Jun 1, 2020

Some builds report the following error:

Cannot set property 'post' of undefined 
    /opt/buildhome/.netlify-build-plugins/node_modules/netlify-plugin-image-optim/index.js:37:26 
    /opt/buildhome/.netlify-build-plugins/node_modules/netlify-plugin-image-optim/index.js:33:22 onPostBuild
    src/plugins/child/run.js:18:3 async Object.run
    src/plugins/child/main.js:38:38 async handleEvent
    src/plugins/ipc.js:97:9 async process.<anonymous>

This seems to indicate that some file paths returned by imagemin() point to non-existing files. I am not quire sure how this might be happening.
The repository is here. The build logs are not showing additional information unfortunately.

@ehmicky ehmicky added the bug Something isn't working label Jun 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant