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]: Module parse failed: Export 'Infinity' is not defined #15360

Closed
2 tasks done
IRediTOTO opened this issue Dec 9, 2023 · 2 comments
Closed
2 tasks done

[Bug]: Module parse failed: Export 'Infinity' is not defined #15360

IRediTOTO opened this issue Dec 9, 2023 · 2 comments

Comments

@IRediTOTO
Copy link

Package

@carbon/react

Browser

Chrome

Package version

1.45.0

React version

18.2.0

Description

Hi, I am trying to install Carbon react to Nextjs 14.0.4, I am learning from tutorial https://carbondesignsystem.com/developing/react-tutorial/step-1/
I get this error

./node_modules/@carbon/icons-react/es/generated/bucket-8.js
Module parse failed: Export 'Infinity' is not defined (2622:1217)
|     WatsonHealthLaunchStudy_2.propTypes = iconPropTypes;
| }

Reproduction/example

https://github.com/carbon-design-system/carbon-tutorial-nextjs/tree/v11-next-step-5

Steps to reproduce

Just need upgrade nextjs to 14.0.4
@carbon/react to 1.45.0

Suggested Severity

None

Application/PAL

No response

Code of Conduct

@kuri-sun
Copy link
Contributor

Hi there! This is a duplicate of this issue. Thank you!

@tay1orjones
Copy link
Member

Duplicate of #15306

@tay1orjones tay1orjones marked this as a duplicate of #15306 Dec 12, 2023
@tay1orjones tay1orjones closed this as not planned Won't fix, can't repro, duplicate, stale Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

3 participants