IO Error: could not spawn

I am working on running a test suite and when I run it, all the tests pass, but then there is an error: “IO Error: could not spawn -n 4 /Applications/Julia-1.7.app/Contents/Resources/julia/bin/julia …” and this goes on with a list of directories and functions such as append! What could be causing this error and how might I fix it?