npm force install peer dependencies code example
Example: npm force peer dependency version
In your package.json
"resolutions": {
"hoek": "4.2.1"
}
"scripts": {
"preinstall": "npx npm-force-resolutions"
}
In your package.json
"resolutions": {
"hoek": "4.2.1"
}
"scripts": {
"preinstall": "npx npm-force-resolutions"
}