0

Is there a way to override the default npm install script proposed by IntelliJ, I mean the one that appear as a notification when your package.json change or the one from the context menu when you right click the package.json.

I would like to add an option such as "--legacy-peer-deps".

Or do I have to run it through the terminal every time ?

Ellone
  • 3,644
  • 12
  • 40
  • 72

1 Answers1

1

this command can't be customized, so you have to either run the command in terminal or create the corresponding npm run configuration:

enter image description here

lena
  • 90,154
  • 11
  • 145
  • 150