antvis/G6

想贡献代码, 但是yarn run buld:all 错误 #5182

zmcode posted onGitHub

Describe the bug

npm run buld:all 或者 yarn build:all 都会报错

image

Your Example Website or App

Steps to Reproduce the Bug or Issue

  1. 拉去项目
  2. yarn
  3. yarn bootstrap
  4. yarn build:all

Expected behavior

build成功

Screenshots or Videos

No response

Platform

g6: 4.8.21

Additional context

No response


hi @zmcode, welcome!

posted by github-actions[bot] over 1 year ago

Hi @zmcode, Please star this repo if you find it useful! Thanks :star:! 你好 @zmcode。如果该仓库对你有用,可以 star 一下,感谢你的 :star:!

posted by github-actions[bot] over 1 year ago

跟这个issue相似: https://github.com/antvis/G6/issues/3904, 但是问题视乎还没解决

posted by zmcode over 1 year ago

image 看着是某个依赖包的ts语法错误, 应该如何解决?

posted by zmcode over 1 year ago

https://github.com/ramda/types/issues/64#issuecomment-1752620654 我通过这个方法成功解决了问题, 但不知道是否为最优解决, 而且我的typescript版本是超过5.0的, 是5.0.4

posted by zmcode over 1 year ago

你好,这边已经修复问题了,请拉取最新代码后使用 pnpm 安装依赖即可

# 安装依赖
pnpm i

# 构建
pnpm build:all

# 启动站点
pnpm start
posted by Aarebecca over 1 year ago

Fund this Issue

$0.00
Funded

Pull requests