Do not forget to check your .xcode.env.local file, sometimes the NODE_BINARY export path might be pointing to the wrong directory.
.xcode.env.local
NODE_BINARY