rogeriochaves / npm-force-resolutions

Force npm to install a specific transitive dependency version
567 stars 28 forks source link

Cannot update the package in requires #48

Open songzhenze2 opened 2 years ago

songzhenze2 commented 2 years ago

I am using webpack "4.41.6". I want to update webpack's acorn dependency. Acorn is under requires, not under dependencies. I use the following configuration, and then npm i but it doesn't work

"resolutions": {
     "acorn": "8.0.1"
   },

image

ISrikaanth commented 2 years ago

Same issue can someone update on this?