Run KNIME by CLI on Mac mini m1

I want to run a KNIME flow by command line on Mac mini m1 but return “Java was started but returned exit code=2”, cannot find out what is wrong, please help.

“/Applications/KNIME 4.5.2.app/Contents/MacOS/knime” -nosave -nosplash -reset -application org.knime.product.KNIME_BATCH_APPLICATION -workflowDir="/Users/angus/search tickers"

probably it is not a KNIME problem but Node-Red, I will check Node-Red instead.