Context / Background :
I was using node version 16.10.0 using nvm . There was conflict between 2 packages so I resolved it with --force . Afterwards if just npm install was performed on same/other machine , it was working fine without throwing any conflict error.
Issue :
In the latest version of node . I am required to use npm install --force every time else it throws conflict error.
Right now I am trying to upgrade to latest node version (Tried with 18.12.1 / 18.13.0 / 19.6.0) . I performed above steps again BUT here just npm install is not working , --force is required every time .
I tried to find the relevant doc to confirm "--force is must on every npm install" OR "conflicts resolution are not getting saved in package-lock.json" .