currently I have an issue.
when I run the command npm install, the package-lock.json is executed unexpected formatting.
As you can see below, the requires property is deleted after running npm install. Even no any package installation
for example from this:
"@react-native-community/masked-view": {
"version": "0.1.10",
"resolved": "foo",
"integrity": "bar",
"requires": {}
},
to this:
"@react-native-community/masked-view": {
"version": "0.1.10",
"resolved": "foo",
"integrity": "bar"
},
However, this is not my wanted action, and because of it, every commit between me a colleague has difference.
I would like this auto formatting...? won't work when I run npm install
Can anyone has an idea about this issue?
This is my .npmrc
legacy-peer-deps=true
npm version: v8.4.0
node version: v14.17.0