Posted 15 May 2024, 2:23 am EST
When i try build the app i get “ReferenceError: window is not defined” error. I suspect it has something to do with webpack, is there any documentation to set webpack up?activereports.zip
Forums Home / ActiveReports / ActiveReportsJS
Posted by: bolsen on 15 May 2024, 2:23 am EST
Posted 15 May 2024, 2:23 am EST
When i try build the app i get “ReferenceError: window is not defined” error. I suspect it has something to do with webpack, is there any documentation to set webpack up?activereports.zip
Posted 17 May 2024, 12:42 am EST - Updated 17 May 2024, 12:47 am EST
Hi Brett,
The Window is not defined error is a generic error that is caused when trying to access the browser’s window object. It could happen if the component you are using ActiveReports within does not have a ‘window’ component or is set to ‘undefined’.
Also, we were able to build and run your attached application on our end without any issues. Please see the attached output screenshot.
You may also refer to the attached online resource links for the same:
Attachment: