Not able to start server using AppiumServiceBuilder on Appium 2.0

Env details :
Node : 19.4.0
Npm : 9.6.5
Appium : v 2.0.0-beta.66

Code used :
AppiumServiceBuilder builder = new AppiumServiceBuilder();
.withAppiumJS(new File(AppiumJS))
.usingDriverExecutable(new File(Node_Path))
.withArgument(GeneralServerFlag.BASEPATH, “/wd/hub”)
.withArgument(() -> “–relaxed-security”);

Issue occurs :
Appium] spawn npm ENOENT
io.appium.java_client.service.local.AppiumServerHasNotBeenStartedLocallyException: The local appium server has not been started. The given Node.js executable: /usr/local/bin/node Arguments: [/usr/local/lib/node_modules/appium/build/lib/main.js, --port, 7777, --address,, --base-path, /wd/hub/, --relaxed-security]

Full log please. Prefer a git gist.