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

   ### Version
   
   5.4.3
   
   ### Link to Minimal Reproduction
   
   https://github.com/itzdrli/example
   
   ### Steps to Reproduce
   
   Use the code from [Here](https://github.com/itzdrli/example). The code has 
written by following official 
[document](https://echarts.apache.org/handbook/en/how-to/cross-platform/server/#loading-of-images)
   
   ### Current Behavior
   
   Error: 
   
C:\Users\xxxx\Desktop\t\node_modules\.pnpm\echarts@5.4.3\node_modules\echarts\dist\echarts.js:9083
           for (var i = 0; i < cachedImgObj.pending.length; i++) {
                                            ^
   
   TypeError: Cannot read properties of undefined (reading 'pending')
       at imageOnLoad 
(C:\Users\xxxx\Desktop\t\node_modules\.pnpm\echarts@5.4.3\node_modules\echarts\dist\echarts.js:9083:42)
       at setSource 
(C:\Users\xxxx\Desktop\t\node_modules\.pnpm\canvas@2.11.2\node_modules\canvas\lib\image.js:94:13)
       at Image.set 
(C:\Users\xxxx\Desktop\t\node_modules\.pnpm\canvas@2.11.2\node_modules\canvas\lib\image.js:40:9)
       at Object.loadImage (C:\Users\xxxx\Desktop\t\index.js:16:13)
       at createOrUpdateImage 
(C:\Users\xxxx\Desktop\t\node_modules\.pnpm\echarts@5.4.3\node_modules\echarts\dist\echarts.js:9067:37)
       at brushImage 
(C:\Users\xxxx\Desktop\t\node_modules\.pnpm\echarts@5.4.3\node_modules\echarts\dist\echarts.js:27311:34)
       at brush 
(C:\Users\xxxx\Desktop\t\node_modules\.pnpm\echarts@5.4.3\node_modules\echarts\dist\echarts.js:27627:17)
       at CanvasPainter._doPaintEl 
(C:\Users\xxxx\Desktop\t\node_modules\.pnpm\echarts@5.4.3\node_modules\echarts\dist\echarts.js:40498:17)
       at repaint 
(C:\Users\xxxx\Desktop\t\node_modules\.pnpm\echarts@5.4.3\node_modules\echarts\dist\echarts.js:40433:31)
       at _loop_1 
(C:\Users\xxxx\Desktop\t\node_modules\.pnpm\echarts@5.4.3\node_modules\echarts\dist\echarts.js:40464:21)
   
   ### Expected Behavior
   
   the image would show
   
   ### Environment
   
   ```markdown
   - OS:Windows 11
   - Node-Canvas
   ```
   
   
   ### 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: commits-unsubscr...@echarts.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to