title: How to solve npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13
body: <p>if I am trying to install a new library I getting this warning. And also that library is not getting installed</p>
  <pre><code>npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\watchpack-chokidar2\node_modules\fsevents):
  npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {&quot;os&quot;:&quot;darwin&quot;,&quot;arch&quot;:&quot;any&quot;} (current: {&quot;os&quot;:&quot;win32&quot;,&quot;arch&quot;:&quot;x64&quot;})    
  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\@angular\compiler-cli\node_modules\fsevents):
  npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {&quot;os&quot;:&quot;darwin&quot;,&quot;arch&quot;:&quot;any&quot;} (current: {&quot;os&quot;:&quot;win32&quot;,&quot;arch&quot;:&quot;x64&quot;})    
  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules\fsevents):
  npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {&quot;os&quot;:&quot;darwin&quot;,&quot;arch&quot;:&quot;any&quot;} (current: {&quot;os&quot;:&quot;win32&quot;,&quot;arch&quot;:&quot;x64&quot;})     
  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\webpack-dev-server\node_modules\fsevents):
  npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {&quot;os&quot;:&quot;darwin&quot;,&quot;arch&quot;:&quot;any&quot;} (current: {&quot;os&quot;:&quot;win32&quot;,&quot;arch&quot;:&quot;x64&quot;})    
  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\karma\node_modules\fsevents):
  npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {&quot;os&quot;:&quot;darwin&quot;,&quot;arch&quot;:&quot;any&quot;} (current: {&quot;os&quot;:&quot;win32&quot;,&quot;arch&quot;:&quot;x64&quot;})
  
  &quot;dependencies&quot;: {
          &quot;@angular/animations&quot;: &quot;^8.2.0&quot;,
          &quot;@angular/common&quot;: &quot;^8.2.0&quot;,
          &quot;@angular/compiler&quot;: &quot;^8.2.0&quot;,
          &quot;@angular/core&quot;: &quot;^8.2.0&quot;,
          &quot;@angular/forms&quot;: &quot;^8.2.0&quot;,
          &quot;@angular/platform-browser&quot;: &quot;^8.2.0&quot;,
          &quot;@angular/platform-browser-dynamic&quot;: &quot;^8.2.0&quot;,
          &quot;@angular/router&quot;: &quot;^8.2.0&quot;,
          &quot;@ng-select/ng-select&quot;: &quot;^3.6.2&quot;,
          &quot;@swimlane/ngx-datatable&quot;: &quot;^15.0.0&quot;,
          &quot;angular2-draggable&quot;: &quot;^2.3.2&quot;,
          &quot;bootstrap&quot;: &quot;^3.3.7&quot;,
          &quot;core-js&quot;: &quot;^2.5.4&quot;,
          &quot;eonasdan-bootstrap-datetimepicker&quot;: &quot;^4.17.47&quot;,
          &quot;font-awesome&quot;: &quot;^4.7.0&quot;,
          &quot;jquery&quot;: &quot;^3.3.1&quot;,
          &quot;jspdf&quot;: &quot;1.4.1&quot;,
          &quot;jspdf-autotable&quot;: &quot;^2.3.4&quot;,
          &quot;material-icons&quot;: &quot;^0.3.1&quot;,
          &quot;moment&quot;: &quot;^2.24.0&quot;,
          &quot;mydatepicker&quot;: &quot;^2.6.6&quot;,
          &quot;ng2-date-picker&quot;: &quot;^8.0.0&quot;,
          &quot;ngx-bootstrap&quot;: &quot;^4.3.0&quot;,
          &quot;ngx-json-viewer&quot;: &quot;^2.4.0&quot;,
          &quot;ngx-toastr&quot;: &quot;^11.3.3&quot;,
          &quot;node-sass&quot;: &quot;^4.14.1&quot;,
          &quot;pretty-checkbox&quot;: &quot;^3.0.3&quot;,
          &quot;rxjs&quot;: &quot;^6.5.1&quot;,
          &quot;save&quot;: &quot;^2.3.2&quot;,
          &quot;sweetalert2&quot;: &quot;^8.10.3&quot;,
          &quot;underscore&quot;: &quot;^1.9.1&quot;,
          &quot;zone.js&quot;: &quot;~0.9.1&quot;
      },
      &quot;devDependencies&quot;: {
          &quot;@angular-devkit/build-angular&quot;: &quot;^0.803.28&quot;,
          &quot;@angular/cli&quot;: &quot;^8.2.0&quot;,
          &quot;@angular/compiler-cli&quot;: &quot;^8.2.0&quot;,
          &quot;@angular/language-service&quot;: &quot;^8.2.0&quot;,
          &quot;@types/datatables.net&quot;: &quot;^1.10.14&quot;,
          &quot;@types/jasmine&quot;: &quot;~2.8.8&quot;,
          &quot;@types/jasminewd2&quot;: &quot;~2.0.3&quot;,
          &quot;@types/jquery&quot;: &quot;^3.3.29&quot;,
          &quot;@types/node&quot;: &quot;~8.9.4&quot;,
          &quot;codelyzer&quot;: &quot;^5.2.2&quot;,
          &quot;jasmine-core&quot;: &quot;~2.99.1&quot;,
          &quot;jasmine-spec-reporter&quot;: &quot;~4.2.1&quot;,
          &quot;karma&quot;: &quot;^5.1.0&quot;,
          &quot;karma-chrome-launcher&quot;: &quot;~2.2.0&quot;,
          &quot;karma-coverage-istanbul-reporter&quot;: &quot;~2.0.1&quot;,
          &quot;karma-jasmine&quot;: &quot;~1.1.2&quot;,
          &quot;karma-jasmine-html-reporter&quot;: &quot;^0.2.2&quot;,
          &quot;protractor&quot;: &quot;^7.0.0&quot;,
          &quot;ts-node&quot;: &quot;~7.0.0&quot;,
          &quot;tslint&quot;: &quot;~5.11.0&quot;,
          &quot;typescript&quot;: &quot;~3.5.0&quot;
      }
  </code></pre>