-
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
CRA app using using @semantic-ui-react/craco-less failing on deployment build #3843
Comments
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you've completed all the fields in the issue template so we can best help. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. |
Did you try to move |
I tried, then it has trouble finding the semantic.less file imported to the index.js. It still works on my local with that change, just not on deploy to Heroku.
|
And if you will move |
That did help, the build finally succeeded, but the app is now erroring out.
|
As I see this issue is not related to our tools 🤔 And I am not sure that someone will be able to provide you a proper answer there, or at least I 😥 Because as I mentioned before I don't have any experience with Heroku. So, I propose you to move this issue as a question to StackOverflow. If you will find a solution please post it there 🙏 |
Thanks for your help! |
CRA app using using @semantic-ui-react/craco-less failing on deployment build to Heroku.
The CRA app runs locally, but fails when attempting to deploy to Heroku. I receive the error: Error: Cannot find module '@semantic-ui-react/craco-less' even though that package is listed as a dev dependency in my client package.json.
I followed the theming guide here: https://react.semantic-ui.com/theming/ to set up my CRA app (using craco without ejecting).
My client package JSON:
Deployment Error:
The text was updated successfully, but these errors were encountered: