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

jspdf not installing. #2572

Closed
akSoftbyArun opened this issue Sep 4, 2019 · 8 comments
Closed

jspdf not installing. #2572

akSoftbyArun opened this issue Sep 4, 2019 · 8 comments
Assignees

Comments

@akSoftbyArun
Copy link

akSoftbyArun commented Sep 4, 2019

while installing jspdf dependencies in my Angular8 application error will occur, I mention that below:
npm install jspdf
npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno ENOENT
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t ssh://git@github.com/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

npm ERR! A complete log of this run can be found in:

Kindly provide me a resolution of this issue.

@eullerpereira94
Copy link

If you are running locally, then you are lacking Git i your machine. Just install it and then it is solved.
But, if are trying to run it on docker, then refer to this issue: #2569

@naveenkumarmark
Copy link

naveenkumarmark commented Sep 13, 2019

If you are running locally, then you are lacking Git i your machine. Just install it and then it is solved.
Hi @euller88 , I have git installed in my machine, I am also getting same error while installing, I could not install using this command npm i jspdf
I able install npm install jspdf@1.5.2
Any solution to solve this?

@eullerpereira94
Copy link

Can you paste the output of your install command?

@naveenkumarmark
Copy link

Can you paste the output of your install command?

I have solved the issue by running the npm install in the Git.

@github-actions
Copy link

github-actions bot commented Jul 8, 2020

This issue is stale because it has been open 90 days with no activity. It will be closed soon. Please comment/reopen if this issue is still relevant.

@matthewurch
Copy link

I got this same issue. If it helps, this is the output of my install command:

>npm i jspdf
(node:20548) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno ENOENT
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t ssh://git@github.com/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

Trying >npm install jspdf@1.5.3 failed in the same manner, but >npm install jspdf@1.5.2 worked fine.

@HackbrettXXX
Copy link
Collaborator

This will be fixed with #2804.

@github-actions
Copy link

This issue is stale because it has been open 90 days with no activity. It will be closed soon. Please comment/reopen if this issue is still relevant.

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

No branches or pull requests

5 participants