You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Carbon for IBM Products (or Carbon for IBM Cloud & Cognitive)
Legacy/CDAI
Legacy/Security
Detailed description
Describe in detail the issue you're having.
While building a hybrid application with both AngularJs and React using webpack 5, "@carbon/ibm-products": "2.0.0-rc.8" causes an issue with transpiling colors/index.js as shown in the screenshot.
Is this issue related to a specific component?
Stack trace shows PageHeader.js to originate this issue.
What browser are you working in?
Chrome
What version of the @carbon/ibm-products (or @carbon/ibm-cloud-cognitive)
2.0.0-rc.8
What offering/product do you work on? Any pressing ship or release dates we should be aware of?
This is blocking the upgrade to Carbon V11 for the Turbonomic IBM Product.
Notes
This may be related to how we are bundling and possibly not easy to reproduce on other systems. If that is the case, please let me know and we can get on a call to show our build configurations.
The text was updated successfully, but these errors were encountered:
Hey @akhandsi, can you possibly provide a code sandbox or stack blitz to try to reproduce this error. You can fork this stackblitz we've created for the CreateTearsheet component if that helps.
@matthewgallo unfortunately the slackblitz that I created did not work. It's mostly how we are bundling our application as commonJS module that could be causing this issue.
Interestingly I did notice that @carbon/themes use color as "color": "^4.0.0" instead of locking to a specific version.
After researching it seems like downgrading colors from 4.2.3 to 4.2.1, fixes this issue. I found this helpful while I researched Esri/calcite-design-system#4481.
Ok, that seems like a reasonable solution. I'm noticing now this is stemming from the @carbon/themes package as indicated in your comment from last week, I would open an issue in the main Carbon repo for any further investigation.
What package(s) are you using?
Detailed description
The issue seems to be related to how this library handles esm resolution. https://github.com/Qix-/color/issues?q=.
This may be related to how we are bundling and possibly not easy to reproduce on other systems. If that is the case, please let me know and we can get on a call to show our build configurations.
The text was updated successfully, but these errors were encountered: