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

pnpm dev 报错 Could not resolve "../../src/_common/docs/compile" #2982

Closed
zhuba-Ahhh opened this issue Jul 8, 2024 · 2 comments
Closed

Comments

@zhuba-Ahhh
Copy link

tdesign-react 版本

1.7.6

重现链接

No response

重现步骤

pnpm dev

✘ [ERROR] Could not resolve "../../src/_common/docs/compile"
    plugin-tdoc/md-to-react.js:6:46:
      6 │ import { compileUsage, getGitTimestamp } from '../../src/_common/docs/compile';
image

期望结果

不报错

实际结果

报错

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

18.20.2

补充说明

No response

Copy link
Contributor

github-actions bot commented Jul 8, 2024

👋 @zhuba-Ahhh,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@NWYLZW
Copy link
Collaborator

NWYLZW commented Jul 8, 2024

submodule 需要初始化,参考一下开发指南

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

2 participants