this code is related to this series of medium articles about node.js and audio:
https://medium.com/@jurgo.boemo/work-with-audio-in-node-js-4a53cd9795a4
be sure you have installed sox: http://sox.sourceforge.net/sox.html
if you are on mac and you have brew (https://brew.sh/) installed, just run:
brew install sox
also, be sure you are using node 14. if you have installed nvm (https://github.com/nvm-sh/nvm) just run:
nvm use
run
node lesson_01__enter_the_mic.js