update package.json errors