NathanaelA / fluentreports

:page_facing_up: Fluent Reports - Data Driven Reporting Engine for Node.js and Browsers :page_facing_up:
https://fluentreports.com
MIT License
375 stars 84 forks source link

ERROR[Cannot set property 'getEmptyPageStats' of undefined] when bundle by webpack(express, nodejs) #271

Open HuynhDat007 opened 5 months ago

HuynhDat007 commented 5 months ago

image

I try bundle PJ use report but I hass error like image. Could someone help me with this

NathanaelA commented 5 months ago

You can try upgrading webpack. Basically the error is saying n.prototype doesn't exist.

HuynhDat007 commented 5 months ago

You can try upgrading webpack. Basically the error is saying n.prototype doesn't exist.

My webpack is latest(5.91.0). My file webpack config image