-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Support for craco 6.x in @semantic-ui-react/craco-less #4301
Comments
Well, it would be awesome :) |
Waiting for it |
Please be aware that #4227 is still an issue, you need to fix -url(data:application/x-font-ttf;charset=utf-8;;base64
+url(data:application/x-font-ttf;charset=utf-8;base64 |
Thank you! |
Hello! The package that is published in npm for
Previous version worked fine. I've seen that version 2.0.0 includes the whole repo, while previous 1.2.3 only included the compiled files. Version 2.0.0: Version 1.2.3: |
Didn't release packages there for ages, they have a bit different publish. |
Thanks! Did you mean to tag @gdelacruzfdez? |
Yes, I had received the notification. Thank you very much for the fix! |
I need more coffee ☕️ Sorry 😊 |
|
Sorry if this is in ignorance (i'm not a package dependency pro) but it appears that there is a dependency issue when I try to install craco-less 2.0.2. craco-less 2.0.2 requires react-scripts 5 and craco 6 (so currently 6.4.3). craco only currently supports react-scripts 4. I am just trying to follow the very simple and short themeing tutorial for semantic-ui-react. |
Do you have any issues with that setup? I guess something like that with NPM? I will relax P.S. |
Thank you, That allowed it to install. Yes, my error was very similar to what you posted. FYI the craco people are working on upgrading to RS5, and they are really tired of people asking :) so it should be a temporary need. |
Error (with build or start). It sounds like I should just wait a while before attempting to do this.
|
I will check and test it more in detail. I was sure that Craco 6 supports CRA 5 and applied rules to it 🙃 Will double verify and check it again. |
Okay, sorry for confusion. I released CRA v3{
"react-scripts": "3.4.4",
"@craco/craco": "5.9.0",
"@semantic-ui-react/craco-less": "1.2.3"
}
CRA v4{
"react-scripts": "4.0.3",
"@craco/craco": "6.4.3",
"@semantic-ui-react/craco-less": "1.2.6"
}
CRA v5{
"react-scripts": "5.0.0",
"@craco/craco": "6.4.3",
"@semantic-ui-react/craco-less": "2.0.2"
}
Please let me know if there are other difficulties. |
Not sure if this is the right place to open this (or if this is actually a bug and not a feature request), but issues are closed on layershifter/semantic-ui-tools so I'm going to open it here.
Feature Request
Update craco dependencies in craco-less to 6.x. Currently pinned to 5.x in craco-less 1.2.3
Problem description
When I try to use craco 6.x in my project with craco-less, I see the following error on
npm install
:Proposed solution
Upgrade craco dependencies in https://github.com/layershifter/semantic-ui-tools/blob/master/packages/craco-less/package.json
The text was updated successfully, but these errors were encountered: