We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I clone antd and try to modify some component
antd
Then, I found antd require antd-pro-merge-less antd-pro-merge-less require @ant-design/dark-theme, and then @ant-design/dark-theme require antd.
antd-pro-merge-less
@ant-design/dark-theme
Yeah, When i try to run node ./scripts/generate-color-less in antd, its throw
node ./scripts/generate-color-less
Error: Cannot find module 'antd/dist/dark-theme'
@ant-design/dark-theme not install antd, because its a devDependency.
How can i fix it? Thanks for your reply
The text was updated successfully, but these errors were encountered:
soft link antd into its self node_module/antd can fix it.
Its any graceful solution?
Sorry, something went wrong.
No branches or pull requests
I clone
antd
and try to modify some componentThen, I found
antd
requireantd-pro-merge-less
antd-pro-merge-less
require@ant-design/dark-theme
, and then@ant-design/dark-theme
requireantd
.Yeah, When i try to run
node ./scripts/generate-color-less
inantd
, its throw@ant-design/dark-theme
not installantd
, because its a devDependency.How can i fix it?
Thanks for your reply
The text was updated successfully, but these errors were encountered: