jakejarvis / hugo-extended

✏️ Plug-and-play Node.js wrapper for Hugo Extended, the awesomest static-site generator.
https://www.npmjs.com/package/hugo-extended
MIT License
25 stars 6 forks source link

Getting an "Unhandled 'error' event" (`Error: spawn ENOENT`) #81

Closed chalin closed 2 years ago

chalin commented 3 years ago

See https://app.netlify.com/sites/opentelemetry/deploys/616dd499e717731f17b46257#L175.

Though it builds fine locally (macOS).

/cc @austinlparker @nate-double-u @celestehorgan

chalin commented 3 years ago

Oh, restarting the build (twice), seems to have fixed the issue. Any idea what the original problem was?

jakejarvis commented 3 years ago

I've gotten this periodically as well (on macOS coincidentally) and can never pinpoint it -- either rebuilding or reinstalling always fixes it. Has been happening for quite a while so it's not related to any recent changes (every time I think I've fixed it, it pops up again a week later!)

If anyone has ideas around Error: spawn ENOENT I'm very open to them, I just found a very detailed stack overflow answer to this and I'll try to reproduce (somehow) today: https://stackoverflow.com/a/27688805

chalin commented 3 years ago

Thanks for the update and for looking into this. ✨