Post install is replacing npm install folder in linux

142 Views Asked by At

I am doing npm install ,after that it is creating node modules folder . then there is post install option is there which is working fine in windows but in Linux box it is deleting node modules and creating again .

package.json format:

{
  "someDependency":{
    "@fortawesome/ember-fontawesome": "0.1.9",
    "@fortawesome/free-regular-svg-icons": "5.1.0",
  },
  "scripts":{
    "postInstall": "npm install --abc download"
  }
}

can anyone help me with how to resolve the issue.

0

There are 0 best solutions below