-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
bug: Could not find dependency: '@ant-design/pro-components' relative to '/App.tsx' #1105
Comments
Hello @binyellow. In order to facilitate location and troubleshooting, we need you to provide a realistic example. You can create a dumi project by clicking here and provide the GitHub warehouse address and reproduce examples. 你好 @binyellow, 为了方便定位和排查问题,我们需要你提供一个重现实例。你可以通过点击 此处 创建一个 dumi 项目并提供 GitHub 仓库地址和重现实例。 |
|
Hello @binyellow. We totally like your proposal/feedback, welcome to send us a Pull Request for it. Please be sure to fill in the default template in the Pull Request, provide changelog/documentation/test cases if needed and make sure CI passed, we will review it soon. We appreciate your effort in advance and looking forward to your contribution! 你好 @binyellow,我们完全同意你的提议/反馈,欢迎直接在此仓库创建一个 Pull Request 来解决这个问题。请务必填写 Pull Request 内的预设模板,提供改动所需相应的 changelog、测试用例、文档等,并确保 CI 通过,我们会尽快进行 Review,提前感谢和期待您的贡献。 |
老哥 下周有空发个版呗 @PeachScript |
v1.1.43 已发布,感谢👍 |
Versions
Steps to reproduce
https://codesandbox.io/s/swsnsf?file=/App.tsx
其他pro-components的在线demo都会报错
What is Expected?
不报错,正确预览
What is actually happening?
Could not find dependency: '@ant-design/pro-components' relative to '/App.tsx'
补充
我的场景也是lerna,然后子package的依赖路径会是
packages/xx/src
但是稍微浏览了下源码,发现
packages/preset-dumi/src/transformer/demo/dependencies.ts
解析依赖对这部分逻辑有点问题The text was updated successfully, but these errors were encountered: