guybedford / chomp

'JS Make' - parallel task runner for the frontend ecosystem with a JS extension system.
https://chompbuild.com
Apache License 2.0
138 stars 7 forks source link

Handle missing Deno / Node engines #57

Closed guybedford closed 2 years ago

guybedford commented 2 years ago

This improves the engine handling to throw nice error message when Deno or Node.js is not installed and we are using these engines.

Fixes https://github.com/guybedford/chomp/issues/55.

Example error message:

chomp swc:init
🞂 :swc:init
Error: Exec error: Unable to initialize the Deno Chomp engine.
Make sure Deno is correctly installed and the deno bin is in the environment PATH.

See https://deno.land/#installation