react-to-pdf
react-to-pdf copied to clipboard
error when installing react-to-pdf package
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 ?
Still an issue: https://github.com/ivmarcos/react-to-pdf/issues/17
i have same problem, i found error when installing this plugin
Not being able to reproduce. Used yarn install react-to-pdf@latest
and npm install [email protected]
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://"
}
npm i react-to-pdf --f try this
facing same issue
same problem
I also face the same issue.
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.