mahdi-shojaee commented on issue #19233:
URL: https://github.com/apache/echarts/issues/19233#issuecomment-1787525872

   @DarioMagniPLRM 
   
   > I tried also to apply the solution proposed by @mahdi-shojaee, adding 
_jsdom_ before _echarts_ import
   > 
   > ```ts
   > import { JSDOM } from 'jsdom'
   > 
   > const { window } = new JSDOM();
   > global.window = window;
   > global.document = window.document;
   > 
   > import * as echarts from 'echarts'
   > ```
   > 
   > The error is still present, but different:
   
   You didn't add the `navigator` and its `userAgent` and `language` properties.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to