To fix the upstream dependency conflict installing NPM packages with JavaScript, we run npm install
with the --legacy-peer-deps
option.
For instance, we run
npm install --legacy-peer-deps
to install all packages in package.json with the packages’ peer depdendencies.