Closed
Description
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:
ERROR in ./node_modules/image-size/lib/index.js
Module not found: Error: Can't resolve 'fs' in '/local/home/xxx/node_modules/image-size/lib'
@ ./node_modules/image-size/lib/index.js 3:9-22
@ ./node_modules/plotly.js/src/traces/image/helpers.js
@ ./node_modules/plotly.js/src/traces/image/calc.js
@ ./node_modules/plotly.js/src/traces/image/index.js
@ ./node_modules/plotly.js/lib/image.js
@ ./node_modules/plotly.js/lib/index.js
@ ./src/util/ui/MultiChart.js
@ ./src/xxx/xxx.js
@ ./src/App.js
@ ./src/index.development.js
Is there some new dependency which needs to be added?