Skip to content

Instantly share code, notes, and snippets.

@davistran86
Created July 1, 2020 02:47
Show Gist options
  • Save davistran86/dfa814c124096557c507efe5b24e327b to your computer and use it in GitHub Desktop.
Save davistran86/dfa814c124096557c507efe5b24e327b to your computer and use it in GitHub Desktop.

In packages.json add resolutions and fix version of package E.g

{
  "name": "learn-typescript",
  "version": "1.0.0",
  "main": "index.js",
  "license": "MIT",
  "devDependencies": {
    "lite-server": "^2.5.4"
  },
  "resolutions": {
    "**/minimist": "^1.2.3",
    "**/yargs-parser": "^18.1.2",
    "**/http-proxy": "^1.18.1"
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment