We are using another JS library from Grape City (spread.js) for Spreadsheet purposes, it looks like they have a dependency that is conflicting with Stimulsoft JS. The one in question seems to be https://www.npmjs.com/package/file-saver or FileSaver.js. This issue arose when I upgraded from 20.1.1 to 20.2.2, the issue is also in 20.2.3. I only replaced stimulsoft.reports.js and stimulsoft.viewer.js, I am using the Vue environment. I am loading the stimulsoft libraries same as the example in github, thru a script tag in index.html. The grape city libraries are loaded via node modules bundle (app.js). It does appear the file-saver 2.0.2 has been in consistent use for quite sometime by spread.js, however just the act of replacing 20.1.1 with 20.2.2 triggered this error and makes my ENTIRE app not work at all, it is fatal. I don't know if you need this https://www.grapecity.com/spreadjs to reproduce it but a demo app is out of the question, its just too large to scale down plus licensing issues with the other product.
When I remove the imports to file-saver such as:
import { saveAs } from 'file-saver';
The app works properly and nothing is fatal. The problem is this is required by spread.js it appears for exporting spreadsheets
Here is some documentation from their product:
https://www.grapecity.com/spreadjs/docs ... e-saver%2C
FileSaver.min.js Error?
FileSaver.min.js Error?
- Attachments
-
- Screen Shot 2020-05-27 at 3.48.03 PM.png (96.72 KiB) Viewed 1256 times
-
- Posts: 6254
- Joined: Tue Mar 20, 2018 5:34 am
Re: FileSaver.min.js Error?
Hello,
That issue was fixed. The fix will be available in the next build within two weeks.
Thank you.
That issue was fixed. The fix will be available in the next build within two weeks.
Thank you.
Re: FileSaver.min.js Error?
Okay thank you for the swift response!
-
- Posts: 6254
- Joined: Tue Mar 20, 2018 5:34 am
Re: FileSaver.min.js Error?
Hello
We are always glad to help you!
Please let us know if you need any additional help.
Thank you.
We are always glad to help you!
Please let us know if you need any additional help.
Thank you.