DarioMagniPLRM opened a new issue, #19233:
URL: https://github.com/apache/echarts/issues/19233

   ### Version
   
   5.4.3
   
   ### Link to Minimal Reproduction
   
   None
   
   ### Steps to Reproduce
   
   Upgrade Node from v20.7.0 to v21.0.0
   
   ### Current Behavior
   
   The following error appears:
   
   ```
   
[...]\node_modules\.pnpm\[email protected]\node_modules\echarts\dist\echarts.js:101
           var firefox = ua.match(/Firefox\/([\d.]+)/);
                            ^
   
   TypeError: Cannot read properties of undefined (reading 'match')
       at detect 
([...]\node_modules\.pnpm\[email protected]\node_modules\echarts\dist\echarts.js:101:26)
       at 
[...]\node_modules\.pnpm\[email protected]\node_modules\echarts\dist\echarts.js:97:9
       at 
[...]\node_modules\.pnpm\[email protected]\node_modules\echarts\dist\echarts.js:22:68
       at Object.<anonymous> 
(D:\GitHub\math-engine\node_modules\.pnpm\[email protected]\node_modules\echarts\dist\echarts.js:25:2)
       at Module._compile (node:internal/modules/cjs/loader:1369:14)
       at Module._extensions..js (node:internal/modules/cjs/loader:1427:10)
       at Module.load (node:internal/modules/cjs/loader:1201:32)
       at Module._load (node:internal/modules/cjs/loader:1017:12)
       at Module.require (node:internal/modules/cjs/loader:1229:19)
       at require (node:internal/modules/helpers:177:18)
   ```
   [...] = my project folder 
   
   ### Expected Behavior
   
   Works as using Node v20.7.0
   
   ### Environment
   
   _No response_
   
   ### Any additional comments?
   
   _No response_


-- 
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