react-boilerplate Error: Can't resolve '../xlsx' in '/Users/react-boilerplate/node_modules/xlsx-style'

Mehrnoosh picture Mehrnoosh · Aug 5, 2018 · Viewed 11.5k times · Source

I am using react-boilerplate when I do run npm install I see these errors

I did also try

rm -rf node-modules npm clean cache --force npm install

But none of them did not solve my problem

Node version : v10.8.0 npm version : 6.2.0

Answer

JavaGeek picture JavaGeek · Mar 19, 2019

I downloaded xlsx module using yarn add xlsx --save and it fixed the problem.