[icon exports]: error when trying to use the icon exports from @carbon/web-components package #18311
Description
Package
@carbon/web-components
Browser
Chrome
Package version
latest
React version
No response
Description
From the watson assistant team, they are running into an error in NextJS when trying to use icons from the @carbon/web-components
package like so
import ThumbsDown16 from '@carbon/web-components/es/icons/thumbs-down/16.js'
Error message:
Error: Package subpath './es/icons/thumbs-down/16.js' is not defined by "exports" in /Users/.../node_modules/@carbon/web-components/package.json imported from /Users/...
Suggested Severity
Sev 3
Application/PAL
Watson Assistant
Code of Conduct
- I agree to follow this project's Code of Conduct
- I checked the current issues for duplicate problems
Metadata
Assignees
Labels
Type
Projects
Status
🚦 In Review
Activity