title: how to fix error while running npm install
body: <p>when running npm install on terminal of vs code i get this error . I did some research on the errors and it seems that maybe some of the packages being installed have some conflicts. How can i fix it is it problem of update ?</p>
  <pre><code>gyp ERR! build error 
  gyp ERR! stack Error: `make` failed with exit code: 2
  gyp ERR! stack     at ChildProcess.onExit (/home/abir_mabrouk/Desktop/My-University-master/my-univ-frontend/node_modules/node-gyp/lib/build.js:262:23)
  gyp ERR! stack     at ChildProcess.emit (events.js:314:20)
  gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
  gyp ERR! System Linux 5.13.0-41-generic
  gyp ERR! command &quot;/usr/local/bin/node&quot; &quot;/home/abir_mabrouk/Desktop/My-University-master/my-univ-frontend/node_modules/node-gyp/bin/node-gyp.js&quot; &quot;rebuild&quot; &quot;--verbose&quot; &quot;--libsass_ext=&quot; &quot;--libsass_cflags=&quot; &quot;--libsass_ldflags=&quot; &quot;--libsass_library=&quot;
  gyp ERR! cwd /home/abir_mabrouk/Desktop/My-University-master/my-univ-frontend/node_modules/node-sass
  gyp ERR! node -v v12.22.6
  gyp ERR! node-gyp -v v3.8.0
  gyp ERR! not ok 
  Build failed with error code: 1
  </code></pre>
  <p>and this is the second error</p>
  <pre><code>npm ERR! code ELIFECYCLE
  npm ERR! errno 1
  npm ERR! node-sass@4.11.0 postinstall: `node scripts/build.js`
  npm ERR! Exit status 1
  npm ERR! 
  npm ERR! Failed at the node-sass@4.11.0 postinstall script.
  npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  
  npm ERR! A complete log of this run can be found in:
  npm ERR!     /home/abir_mabrouk/.npm/_logs/2022-05-15T09_41_24_646Z-debug.log
  </code></pre>
  <p>and this the package.json</p>
  <pre><code>{
    &quot;name&quot;: &quot;ngx-admin&quot;,
    &quot;version&quot;: &quot;3.1.0&quot;,
    &quot;license&quot;: &quot;MIT&quot;,
    &quot;repository&quot;: {
      &quot;type&quot;: &quot;git&quot;,
      &quot;url&quot;: &quot;git+https://github.com/akveo/ngx-admin.git&quot;
    },
    &quot;bugs&quot;: {
      &quot;url&quot;: &quot;https://github.com/akveo/ngx-admin/issues&quot;
    },
    &quot;browserslist&quot;: [
      &quot;&gt; 1%&quot;,
      &quot;last 2 versions&quot;,
      &quot;IE 11&quot;
    ],
    
    &quot;scripts&quot;: {
      &quot;ng&quot;: &quot;ng&quot;,
      &quot;conventional-changelog&quot;: &quot;conventional-changelog&quot;,
      &quot;start&quot;: &quot;node your-script.js&quot;,
      &quot;build&quot;: &quot;ng build&quot;,
      &quot;build:prod&quot;: &quot;npm run build -- --prod --aot&quot;,
      &quot;test&quot;: &quot;ng test&quot;,
      &quot;test:coverage&quot;: &quot;rimraf coverage &amp;&amp; npm run test -- --code-coverage&quot;,
      &quot;lint&quot;: &quot;ng lint&quot;,
      &quot;lint:fix&quot;: &quot;ng lint ngx-admin-demo --fix&quot;,
      &quot;lint:styles&quot;: &quot;stylelint ./src/**/*.scss&quot;,
      &quot;lint:ci&quot;: &quot;npm run lint &amp;&amp; npm run lint:styles&quot;,
      &quot;pree2e&quot;: &quot;webdriver-manager update --standalone false --gecko false&quot;,
      &quot;e2e&quot;: &quot;ng e2e&quot;,
      &quot;docs&quot;: &quot;compodoc -p src/tsconfig.app.json -d docs&quot;,
      &quot;docs:serve&quot;: &quot;compodoc -p src/tsconfig.app.json -d docs -s&quot;,
      &quot;prepush&quot;: &quot;npm run lint:ci&quot;,
      &quot;release:changelog&quot;: &quot;npm run conventional-changelog -- -p angular -i CHANGELOG.md -s&quot;
    },
    &quot;dependencies&quot;: {
      &quot;@agm/core&quot;: &quot;^1.0.0-beta.5&quot;,
      &quot;@angular/animations&quot;: &quot;^7.0.3&quot;,
      &quot;@angular/cdk&quot;: &quot;^7.0.3&quot;,
      &quot;@angular/common&quot;: &quot;^7.0.3&quot;,
      &quot;@angular/compiler&quot;: &quot;^7.0.3&quot;,
      &quot;@angular/core&quot;: &quot;^7.0.3&quot;,
      &quot;@angular/forms&quot;: &quot;^7.0.3&quot;,
      &quot;@angular/http&quot;: &quot;^7.0.3&quot;,
      &quot;@angular/platform-browser&quot;: &quot;^7.0.3&quot;,
      &quot;@angular/platform-browser-dynamic&quot;: &quot;^7.0.3&quot;,
      &quot;@angular/router&quot;: &quot;^7.0.3&quot;,
      &quot;@asymmetrik/ngx-leaflet&quot;: &quot;3.0.1&quot;,
      &quot;@nebular/auth&quot;: &quot;3.1.0&quot;,
      &quot;@nebular/bootstrap&quot;: &quot;3.1.0&quot;,
      &quot;@nebular/security&quot;: &quot;3.1.0&quot;,
      &quot;@nebular/theme&quot;: &quot;3.1.0&quot;,
      &quot;@ng-bootstrap/ng-bootstrap&quot;: &quot;^4.0.0&quot;,
      &quot;@swimlane/ngx-charts&quot;: &quot;^10.0.0&quot;,
      &quot;angular-tree-component&quot;: &quot;7.2.0&quot;,
      &quot;angular2-chartjs&quot;: &quot;0.4.1&quot;,
      &quot;angular2-toaster&quot;: &quot;^6.1.0&quot;,
      &quot;bootstrap&quot;: &quot;4.0.0&quot;,
      &quot;chart.js&quot;: &quot;2.7.1&quot;,
      &quot;ckeditor&quot;: &quot;4.7.3&quot;,
      &quot;classlist.js&quot;: &quot;1.1.20150312&quot;,
      &quot;core-js&quot;: &quot;2.5.1&quot;,
      &quot;echarts&quot;: &quot;^4.0.2&quot;,
      &quot;eva-icons&quot;: &quot;^1.1.0&quot;,
      &quot;intl&quot;: &quot;1.2.5&quot;,
      &quot;ionicons&quot;: &quot;2.0.1&quot;,
      &quot;jspdf&quot;: &quot;^1.4.1&quot;,
      &quot;leaflet&quot;: &quot;1.2.0&quot;,
      &quot;nebular-icons&quot;: &quot;1.1.0&quot;,
      &quot;ng2-ckeditor&quot;: &quot;^1.2.2&quot;,
      &quot;ng2-completer&quot;: &quot;2.0.8&quot;,
      &quot;ng2-smart-table&quot;: &quot;1.3.5&quot;,
      &quot;ngx-echarts&quot;: &quot;^4.0.1&quot;,
      &quot;node-sass&quot;: &quot;^4.11.0&quot;,
      &quot;normalize.css&quot;: &quot;6.0.0&quot;,
      &quot;pace-js&quot;: &quot;1.0.2&quot;,
      &quot;roboto-fontface&quot;: &quot;0.8.0&quot;,
      &quot;rxjs&quot;: &quot;6.3.0&quot;,
      &quot;rxjs-compat&quot;: &quot;6.3.0&quot;,
      &quot;socicon&quot;: &quot;3.0.5&quot;,
      &quot;tinymce&quot;: &quot;4.5.7&quot;,
      &quot;typeface-exo&quot;: &quot;0.0.22&quot;,
      &quot;web-animations-js&quot;: &quot;2.2.5&quot;,
      &quot;zone.js&quot;: &quot;^0.8.26&quot;
    },
    &quot;devDependencies&quot;: {
      &quot;@angular-devkit/build-angular&quot;: &quot;0.10.2&quot;,
      &quot;@angular/cli&quot;: &quot;^7.0.3&quot;,
      &quot;@angular/compiler-cli&quot;: &quot;^7.0.3&quot;,
      &quot;@angular/language-service&quot;: &quot;7.0.0&quot;,
      &quot;@compodoc/compodoc&quot;: &quot;1.0.1&quot;,
      &quot;@fortawesome/fontawesome-free&quot;: &quot;^5.2.0&quot;,
      &quot;@types/d3-color&quot;: &quot;1.0.5&quot;,
      &quot;@types/googlemaps&quot;: &quot;^3.30.4&quot;,
      &quot;@types/jasmine&quot;: &quot;2.5.54&quot;,
      &quot;@types/jasminewd2&quot;: &quot;2.0.3&quot;,
      &quot;@types/leaflet&quot;: &quot;1.2.3&quot;,
      &quot;@types/node&quot;: &quot;6.0.90&quot;,
      &quot;codelyzer&quot;: &quot;^4.5.0&quot;,
      &quot;conventional-changelog-cli&quot;: &quot;1.3.4&quot;,
      &quot;gulp-coffee&quot;: &quot;^3.0.3&quot;,
      &quot;husky&quot;: &quot;0.13.3&quot;,
      &quot;jasmine-core&quot;: &quot;2.6.4&quot;,
      &quot;jasmine-spec-reporter&quot;: &quot;4.1.1&quot;,
      &quot;karma&quot;: &quot;1.7.1&quot;,
      &quot;karma-chrome-launcher&quot;: &quot;2.1.1&quot;,
      &quot;karma-cli&quot;: &quot;1.0.1&quot;,
      &quot;karma-coverage-istanbul-reporter&quot;: &quot;1.3.0&quot;,
      &quot;karma-jasmine&quot;: &quot;1.1.0&quot;,
      &quot;karma-jasmine-html-reporter&quot;: &quot;0.2.2&quot;,
      &quot;npm-run-all&quot;: &quot;4.0.2&quot;,
      &quot;protractor&quot;: &quot;5.1.2&quot;,
      &quot;rimraf&quot;: &quot;2.6.1&quot;,
      &quot;stylelint&quot;: &quot;7.13.0&quot;,
      &quot;ts-node&quot;: &quot;3.2.2&quot;,
      &quot;tslint&quot;: &quot;5.7.0&quot;,
      &quot;tslint-language-service&quot;: &quot;^0.9.9&quot;,
      &quot;typescript&quot;: &quot;3.1.3&quot;
    }
  }
  </code></pre>
  <p>is it a problem of version of some packages ?</p>