Regression: crash on enable on systems that don’t have Node.js installed
Regression introduced in https://source.small-tech.org/site.js/app/-/blob/master/bin/commands/enable.js#L79 with commit 9cbb08be results in the following error on site enable
on systems without Node.js installed:
(node:3098) UnhandledPromiseRejectionWarning: Error: Command failed: which node
at checkExecSyncError (child_process.js:630:11)
at Object.execSync (child_process.js:666:15)
at /usr/local/bin/bin/commands/enable.js:79:46
at processTicksAndRejections (internal/process/task_queues.js:97:5)