-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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]: Error when using v10 packages with Node 18 #14734
Comments
I don't have access to view the reproduction. Could you provide a small reproduction repository showing an issue with Node 18? Also could you please share specific package and version details of what you're using so we could look into this further? I think right now all the CI jobs for v10 test against Node 16, but this is the first I've heard that it's incompatible with Node 18. What's the specific error you're seeing? |
I'm personally not able to reproduce an issue using v10 with Node 18. Here's two examples of v10 packages working with Node 18: |
@reshmpk1 Most importantly, you'll need to remove Beyond that, @kennylam could you share any info you might see on the above package list regarding the usage of the various web components and dotcom packages listed there? I think there may be some incompatibilities, but I'm not 100% sure. |
Nothing stands out as being problematic, especially since many of those dependencies aren't maintained by any Carbon squads. It builds locally so it seems like a config/environment issue on the remote hosts? |
https://dev-privacyportal.968d96a4.public.multi-containers.ibm.com/privacy/portal/us-en This is working with the Node 16 version; when it moves to Version 18, we get a black page. Could you be able to suggest the required dependency version? |
@reshmpk1 Both the error messages you screenshotted above reference |
Package
@carbon/upgrade
Browser
Chrome
Package version
v10
React version
react-script: 4.0.3
react: 17.0.0
Description
We were using our IBM privacy portal( node 16.19.1), which is now updated to node 18.16.0. After that, our React Carbon application is not loading in our Cirrus environment. We debugged the issue, mainly carbon dependency compatibility. As you suggested, we followed all the steps, but still, we could not run our application on node 18.
Reproduction/example
https://jsw.ibm.com/browse/CPOPP-303
Steps to reproduce
Updated the node version to 18.16.0 and updated the carbon sass package dependency
removed node-sass installed sass etc. as suggested. Still, we were getting docker build failures due to the version compatibility.
even we followed these steps in my local system:
https://carbondesignsystem.com/migrating/guide/develop/
These steps were not giving the success result in my system itself. We are looking for a carbon support team to help in this area. what is the right dependency for the node 18 version?
Suggested Severity
Severity 1 = Must be fixed ASAP. The response must be swift. Someone from the team must drop all current work and be immediately reassigned to address the issue.
Application/PAL
IBM privacy portal
Code of Conduct
The text was updated successfully, but these errors were encountered: