antvis/G6

Do you want to work on this issue?

You can request for a bounty in order to promote it!

[Bug]: vite build error #6646

hentailong posted onGitHub

Describe the bug / 问题描述

x Build failed in 26.50s error during build: [commonjs--resolver] node_modules/@antv/layout/lib/dagre.js (3:16): "graphlib" is not exported by "node_modules/dagre/index.js", imported by "node_modules/@antv/layout/lib/dagre.js".

No response

Steps to Reproduce the Bug or Issue / 重现步骤

No response

G6 Version / G6 版本

🆕 5.x

OS / 操作系统

  • macOS
  • Windows
  • Linux
  • Others / 其他

Browser / 浏览器

  • Chrome
  • Edge
  • Firefox
  • Safari (Limited support / 有限支持)
  • IE (Nonsupport / 不支持)
  • Others / 其他

I have the same problem. May I ask how to solve this? help help help, big lao

error during build: [commonjs--resolver] node_modules/.pnpm/@antv+layout@1.2.14-beta.9_workerize-loader@2.0.2_webpack@4.47.0_/node_modules/@antv/layout/lib/dagre.js (3:16): "graphlib" is not exported by "node_modules/.pnpm/dagre@0.8.5/node_modules/dagre/index.js", imported by "node_modules/.pnpm/@antv+layout@1.2.14-beta.9_workerize-loader@2.0.2_webpack@4.47.0_/node_modules/@antv/layout/lib/dagre.js".

posted by RBggdyy 4 months ago

@hentailong @RBggdyy We will confirm the issue soon

posted by Aarebecca 4 months ago

I have the same problem also, is there a temporary solution?

posted by iHearty 4 months ago

Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests