jsPDF icon indicating copy to clipboard operation
jsPDF copied to clipboard

Error by install jsPdf jspdf

Open IngoManthey opened this issue 7 years ago • 3 comments

I have a new computer and would like to install my project there. npm install aborts. 111 error path git 112 error code ENOENT 113 error errno ENOENT 114 error syscall spawn git 115 error enoent Error while executing: 115 error enoent undefined ls-remote -h -t ssh://[email protected]/eligrey/FileSaver.js.git 115 error enoent 115 error enoent 115 error enoent spawn git ENOENT 116 error enoent This is related to npm not being able to find a file.

what can I do for use the jspdf ?

regards Ingo

IngoManthey avatar Aug 19 '19 22:08 IngoManthey

The problem is with [email protected] - either rollback jsPDF to a version that references a different version of file-saver or yo could use NPM Shrinkwrap and manually specify [email protected]:

It would go something like this

THIS IS JUST AN EXAMPLE, NOT TESTED:

{
    "dependencies": {
        "jsPDF": {
            "version": "1.5.3",
            "from": "[email protected]",
            "dependencies": {
                "file-saver": {
                    "version": "2.0.2",
                    "from": "file-saver@~2.0.1"
                }
            }
        }
    }
} 

RHellmann avatar Aug 22 '19 15:08 RHellmann

Thank you just its run fine.

regards Ingo

IngoManthey avatar Aug 22 '19 15:08 IngoManthey

@MrRio Please update dependency

RHellmann avatar Aug 23 '19 09:08 RHellmann