Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

下载有问题看这里 This dependency was not found: * @antv/g/src/shapes in ./src/components/Flow/customNode.js #61

Open
qy-staryea opened this issue Aug 29, 2023 · 2 comments

Comments

@qy-staryea
Copy link

先把项目的package-lock.json删了
然后改package.json
"dependencies": {
"@antv/g": "3.4.6",
"@antv/g6": "3.0.5-beta.9",
改成这样,npm install npm run dev

@aaaafei
Copy link

aaaafei commented Jul 25, 2024

大佬牛批

@1363653611
Copy link

主要原因是antv/g6 新版本将 功能代码目录调整 了。导致依赖找不到。解决问题的主要方式可以直接改工程代码中的目录:
antv/g6/build ---> g6/es/plugins
antv/g6/build/g6 ---> antv/g6
antv/g/src---> antv/g6/es
antv/g6/build --->antv/g6/es/plugins

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants