Closed Konstrukteur closed 1 year ago
faced a similar issue.... do you have any updates?
No. I used for the project another framework. I still need to figure this out. In case you get through it. Please share!
The underlying error here as you paste. esbuild couldn't compile your JS. Looks like maybe because you're using case sensitive file names. I'd try stop doing that.
Thanks for the feedback.
I was following React's "best practices", which suggest PascalCase component and filenames. Usually I stay away from mixed case filenames, but followed the official line here.
When you build through React, this quirk does not pop up and everything works in production, but when you try to bundle it, you end up with this problem.
I am trying to deploy through Capistrano.
I have
I get random errors on deployment related to the case of the component filenames during
~/.rvm/bin/rvm 3.2.1 do bundle exec rake assets:precompile
.In order to being able to deploy I have to name some components with lower case letters, while others have to have capital letters or can have capital letters. The production system is case sensitive, I have yarn 3.5 and Node 19.8.1 installed through nvm on it.