Finding a peer dependency version for a related NPM packages

Note Statistics

Note Statistics

  • Viewed 64 times
  • Bookmarked 2 times
  • 2 Grateful readers
Sun, 08/09/2020 - 19:19

While working with javascript, You might reach a point sometime when you need to install a related package, but the original package (e.g. Webpack) is not compatible with the newest version of the related package (e.g. Webpack-cli or Webapack-dev-server). The problem is that you cannot upgrade the original package. This means on;y one thing. You need to find an older version ofr the related package that is compatible with you original package. Try This online tools at https://npmpeer.dev) can be used to find matching/compatible versions for related packages. For example matching react to react-dom or webpack to webpack-cli.

Authored by