Open EvanTrow opened 3 years ago
Same error when trying to install it inside a Docker node:alpine
error:
I have same error :(
This looks like a general npm error. Backup your package-lock.json and erase the original package-lock.json. Retry npm install and then install this package.
Hi @ahmetilhann @EvanTrow @Genzan @GeraldoMaciasLADodgers , I am also facing the same issue. Locally it is working fine but through the docker file it is not installing react-export-excel plugin and giving the same above error. I have tried the below steps in docker file but still not working - RUN npm rm --save xlsx RUN npm install https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz RUN npm install react-export-excel --save
If anyone has any solution on this issue, kindly provide it. Thanks in advance.
installing via npm fails
`> npm install react-export-excel --save npm ERR! code ENOENT npm ERR! syscall spawn git npm ERR! path git npm ERR! errno -4058 npm ERR! enoent Error while executing: npm ERR! enoent undefined ls-remote -h -t https://github.com/securedeveloper/js-xlsx.git npm ERR! enoent npm ERR! enoent npm ERR! enoent spawn git ENOENT npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\user\AppData\Roaming\npm-cache_logs\2021-05-24T13_31_30_680Z-debug.log`