modify package.json's path on detecting node version.