fix the node flag issues with the build

call node direct