ohmtech-rdi / eurorack-blocks

Software to Hardware Prototyping for Eurorack using C++, Max/Gen~ or Faust
Other
309 stars 21 forks source link

bash: erbb: command not found on Max #544

Closed eliottparis closed 1 year ago

eliottparis commented 1 year ago

After following the documentation to setup erbb, I'm unable to build the Reverb.maxpat example.

The erb.build.js fails with the following error:

...
node.script: Build starting
node.script: Error: bash: erbb: command not found
node.script: Error: bash: erbb: command not found
node.script: child process exited with code 127

It seems that Max can't find the path to erbb.

A possible solution would be to execute the erbb commands by giving either an absolute or relative path to the erbb file.

ohmtech-rdi commented 1 year ago

Yep indeed, on recent versions of macOS, zsh is used so that must come from that. Using an absolute or relative path to erbb and invoking it directly using python3 instead of having all this going through a shell seems to be indeed a better and more robust solution 👍