Fix basedir path problem when execute nodejs command.