react-to-pdf icon indicating copy to clipboard operation
react-to-pdf copied to clipboard

error when installing react-to-pdf package

Open Mary19Star opened this issue 4 years ago • 4 comments

when i try to install react-to-pdf package using this command : npm install react-to-pdf i get this errors :

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 ssh://[email protected]/eligrey/FileSaver.js.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

could someone tell me what the problem is ?

Mary19Star avatar Nov 14 '20 10:11 Mary19Star

Still an issue: https://github.com/ivmarcos/react-to-pdf/issues/17

baelter avatar Feb 18 '21 10:02 baelter

i have same problem, i found error when installing this plugin

rafioktavian avatar Mar 24 '21 08:03 rafioktavian

Not being able to reproduce. Used yarn install react-to-pdf@latest and npm install [email protected]

ivmarcos avatar May 18 '21 22:05 ivmarcos

Only seen this issue on Heroku and we worked around it by adding this to our package.json

"scripts": {
  "heroku-prebuild": "git config --global url.\"https://github.com/\".insteadOf [email protected]: && git config --global url.\"https://\".insteadOf ssh://"
}

baelter avatar May 20 '21 07:05 baelter

npm i react-to-pdf --f try this

mozammel787 avatar Oct 25 '22 22:10 mozammel787

facing same issue

AbdullahWins avatar Oct 27 '22 15:10 AbdullahWins

same problem

sabbir1020 avatar Jan 26 '23 10:01 sabbir1020

I also face the same issue.

ehasanulh1 avatar Feb 17 '23 05:02 ehasanulh1

Please check if the problem persists with V1, not being able to reproduce. Closing this but feel free to open another issue if that continues with the newest releases.

ivmarcos avatar Sep 08 '23 12:09 ivmarcos