antvis/G6

https://unpkg.com/@antv/layout@1.2.0/dist/layout.min.js (Cannot find "/dist/layout.min.js" in @antv/layout@1.2.0) #4496

rabsondev posted onGitHub

问题描述

We're experiencing this issue with the library and it's affecting us. Has the issue been prioritized?

237619240-6ee09dde-91e0-45a5-b576-2a78a0ae9f65

重现链接

https://unpkg.com/@antv/layout@1.2.0/dist/layout.min.js

重现步骤

  1. Render the graph.
  2. The rendering fails.

预期行为

The desired outcome is for the script to be found at https://unpkg.com/@antv/layout@1.2.0/dist/layout.min.js and the graph should render.

However, the resource is not found at https://unpkg.com/@antv/layout@1.2.0/dist/layout.min.js (Cannot find "/dist/layout.min.js" in @antv/layout@1.2.0). This is because https://unpkg.com/@antv/layout@1.2.0/dist/layout.min.js was moved to https://unpkg.com/@antv/layout@1.2.0/dist/index.min.js. However, the G6 library is still trying to fetch the resource using https://unpkg.com/@antv/layout@1.2.0/dist/layout.min.js instead of the new https://unpkg.com/@antv/layout@1.2.0/dist/index.min.js.

平台

  • Web

屏幕截图或视频(可选)

237619240-6ee09dde-91e0-45a5-b576-2a78a0ae9f65

补充说明(可选)

The bug is always present.


Fund this Issue

$0.00
Funded

Pull requests