-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
ERROR in ./node_modules/image-size/lib/index.js #5377
Comments
Duplicate of #5243, right? |
Yes, seems to be related - the descriptions are at least almost the same. |
I don't understand how var sizeOf = require('probe-image-size/sync'); |
All of my initial guesses proved false. The dist version of image-size has
In short, it's not clear to me. |
FYI, I have no objection to replacing |
@rreusser simply FYI we are using |
Closing via #5388. |
@archmoj of course! That's the least I can do :) |
@bishonen in fact we are more interested to test this before next release which might take weeks. |
@archmoj
|
Could you set charset to utf8? |
Wasn't quite sure how you meant to change the encoding (in the header of the index.html ?). Therefore I searched, found and followed the advice from someone who already had this issue. They used the minified version which turned out to be working fine. With this in place, I can gladly confirm that the latest build does not throw any 'fs' related errors anymore!
Thanks to all for the quick turnaround. This is in part what makes plotly a great library (on which one can rely upon). Thanks |
Plotly.js version: 1.58.4
Platform: mac bis sur
When upgrading plotly from 1.52.2 to 1.58.4 a new error appears when trying to run it in a react webpage:
Is there some new dependency which needs to be added?
The text was updated successfully, but these errors were encountered: