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

🐛 Bug Report - fails to compile for earlier versions of antd 5 #47

Closed
ArtyomVancyan opened this issue Oct 4, 2023 · 0 comments · Fixed by #48
Closed

🐛 Bug Report - fails to compile for earlier versions of antd 5 #47

ArtyomVancyan opened this issue Oct 4, 2023 · 0 comments · Fixed by #48
Assignees
Labels
bug Something isn't working hacktoberfest Participating in Hacktoberfest

Comments

@ArtyomVancyan
Copy link
Member

ArtyomVancyan commented Oct 4, 2023

Bug description

Compiling fails with antd versions 5.0.x-5.7.x, so it works only for the latest versions. Also, for more stability, it would be nice to perform additional tests with different versions of antd using tox.

Reproduction URL

https://github.com/ArtyomVancyan/antd-phone-input/tree/master/examples/antd5.x

Reproduction steps

  1. cd examples/antd5.x
  2. npm i && npm i antd@5.2.0
  3. npm run build

Logs

Failed to compile.

Attempted import error: 'initComponentToken' is not exported from 'antd/es/input/style' (imported as 'inputHelper').
ERROR in ./node_modules/antd-phone-input/style.js 14:117-147
export 'initComponentToken' (imported as 'inputHelper') was not found in 'antd/es/input/style' (possible exports: default, genActiveStyle, genBasicInputStyle, genDisabledStyle, genHoverStyle, genInputGroupStyle, genInputSmallStyle, genPlaceholderStyle, genStatusStyle, initInputToken)

webpack compiled with 1 error
@ArtyomVancyan ArtyomVancyan added bug Something isn't working hacktoberfest Participating in Hacktoberfest labels Oct 4, 2023
@ArtyomVancyan ArtyomVancyan self-assigned this Oct 4, 2023
ArtyomVancyan added a commit that referenced this issue Oct 4, 2023
Signed-off-by: Artyom Vancyan <artyom.vancyan2000@gmail.com>
ArtyomVancyan added a commit that referenced this issue Oct 4, 2023
Signed-off-by: Artyom Vancyan <artyom.vancyan2000@gmail.com>
@ArtyomVancyan ArtyomVancyan linked a pull request Oct 4, 2023 that will close this issue
6 tasks
ArtyomVancyan added a commit that referenced this issue Oct 4, 2023
Signed-off-by: Artyom Vancyan <artyom.vancyan2000@gmail.com>
ArtyomVancyan added a commit that referenced this issue Oct 4, 2023
Signed-off-by: Artyom Vancyan <artyom.vancyan2000@gmail.com>
ArtyomVancyan added a commit that referenced this issue Oct 4, 2023
Signed-off-by: Artyom Vancyan <artyom.vancyan2000@gmail.com>
ArtyomVancyan added a commit that referenced this issue Oct 4, 2023
Signed-off-by: Artyom Vancyan <artyom.vancyan2000@gmail.com>
ArtyomVancyan added a commit that referenced this issue Oct 4, 2023
Signed-off-by: Artyom Vancyan <artyom.vancyan2000@gmail.com>
ArtyomVancyan added a commit that referenced this issue Oct 4, 2023
Signed-off-by: Artyom Vancyan <artyom.vancyan2000@gmail.com>
@ArtyomVancyan ArtyomVancyan mentioned this issue Oct 4, 2023
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working hacktoberfest Participating in Hacktoberfest
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant