title: react-boilerplate Error: Can't resolve '../xlsx' in '/Users/react-boilerplate/node_modules/xlsx-style'
body: <p>I am using react-boilerplate when I do run <em>npm install</em> I see these errors </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>    Building the Webpack DLL...
  Hash: 7f68501fbcd6b8f05530
  Version: webpack 4.12.0
  Time: 3566ms
  Built at: 08/05/2018 6:10:17 PM
                        Asset      Size                Chunks                    Chunk Names
  reactBoilerplateDeps.dll.js  4.81 MiB  reactBoilerplateDeps  [emitted]  [big]  reactBoilerplateDeps
  chunk {reactBoilerplateDeps} reactBoilerplateDeps.dll.js (reactBoilerplateDeps) 4.15 MiB [entry] [rendered]
  
  WARNING in ./node_modules/xlsx-style/ods.js
  Module not found: Error: Can't resolve '../xlsx' in '/Users/mehrnooshhajkhalil/react-boilerplate/node_modules/xlsx-style'
   @ ./node_modules/xlsx-style/ods.js
   @ ./node_modules/xlsx-style/xlsx.js
   @ ./node_modules/node-excel-export/lib/excel.js
   @ ./node_modules/node-excel-export/index.js
   @ dll reactBoilerplateDeps
  
  ERROR in ./node_modules/xlsx-style/dist/cpexcel.js
  Module not found: Error: Can't resolve './cptable' in '/Users/mehrnooshhajkhalil/react-boilerplate/node_modules/xlsx-style/dist'
   @ ./node_modules/xlsx-style/dist/cpexcel.js 807:16-41
   @ ./node_modules/xlsx-style/xlsx.js
   @ ./node_modules/node-excel-export/lib/excel.js
   @ ./node_modules/node-excel-export/index.js
   @ dll reactBoilerplateDeps
  
  ERROR in ./node_modules/xlsx-style/xlsx.js
  Module not found: Error: Can't resolve 'fs' in '/Users/mehrnooshhajkhalil/react-boilerplate/node_modules/xlsx-style'
   @ ./node_modules/xlsx-style/xlsx.js 1204:27-40 1340:8-24
   @ ./node_modules/node-excel-export/lib/excel.js
   @ ./node_modules/node-excel-export/index.js
   @ dll reactBoilerplateDeps
  
  ERROR in ./node_modules/xlsx-style/ods.js
  Module not found: Error: Can't resolve 'fs' in '/Users/mehrnooshhajkhalil/react-boilerplate/node_modules/xlsx-style'
   @ ./node_modules/xlsx-style/ods.js 58:8-24
   @ ./node_modules/xlsx-style/xlsx.js
   @ ./node_modules/node-excel-export/lib/excel.js
   @ ./node_modules/node-excel-export/index.js
   @ dll reactBoilerplateDeps
  
  ERROR in ./node_modules/xlsx-style/ods.js
  Module not found: Error: Can't resolve 'xlsx' in '/Users/mehrnooshhajkhalil/react-boilerplate/node_modules/xlsx-style'
   @ ./node_modules/xlsx-style/ods.js 13:21-41
   @ ./node_modules/xlsx-style/xlsx.js
   @ ./node_modules/node-excel-export/lib/excel.js
   @ ./node_modules/node-excel-export/index.js
   @ dll reactBoilerplateDeps
  removed 1 package and audited 53190 packages in 30.134s</code></pre>
  </div>
  </div>
  </p>
  
  <p>I did also try </p>
  
  <p>rm -rf node-modules 
  npm clean cache --force
  npm install </p>
  
  <p>But none of them did not solve my problem </p>
  
  <p>Node version : v10.8.0
  npm version : 6.2.0</p>