Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install #159

Open
EvanTrow opened this issue May 24, 2021 · 4 comments
Open

Unable to install #159

EvanTrow opened this issue May 24, 2021 · 4 comments

Comments

@EvanTrow
Copy link

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`

@Genzan
Copy link

Genzan commented Aug 5, 2021

Same error when trying to install it inside a Docker node:alpine

imagen

error:

imagen

@ahmetilhann
Copy link

I have same error :(

@GeraldoMaciasLADodgers
Copy link

GeraldoMaciasLADodgers commented May 13, 2022

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.

@dineshkoli
Copy link

dineshkoli commented Jul 29, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants