Jspdf: FileSaver dependency is causing npm install failure

Created on 7 Jun 2019  路  3Comments  路  Source: MrRio/jsPDF

this dependency is causing failure when i try to npm install
"file-saver": "github:eligrey/FileSaver.js#1.3.8"

in versions 1.5.2 and below, it's listed with a version number, but now it has this "github:eligrey/FileSaver.js#1.3.8" syntax which appears to be causing it to fail

no-issue-activity

Most helpful comment

FileSaver guys deleted the "1.3.8" branch.
As a workaround you can add a resolution to your package.json:

"resolutions": {
    "jspdf/file-saver": "github:eligrey/FileSaver.js#e865e37af9f9947ddcced76b549e27dc45c1cb2e"
  }

All 3 comments

FileSaver guys deleted the "1.3.8" branch.
As a workaround you can add a resolution to your package.json:

"resolutions": {
    "jspdf/file-saver": "github:eligrey/FileSaver.js#e865e37af9f9947ddcced76b549e27dc45c1cb2e"
  }

There is an npm package for file-saver

Try the following

npm install file-saver --save

And add the following to package.json

"resolutions": {
    "jspdf/file-saver": "file-saver"
  }

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.

Was this page helpful?
0 / 5 - 0 ratings