Home > Back-end >  Override default npm install from InitelliJ IDEA
Override default npm install from InitelliJ IDEA

Time:02-02

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 ?

CodePudding user response:

this command can't be customized, so you have to either run the command in terminal or create the corresponding enter image description here

  • Related