Support the ongoing development of Laravel.io →
Installation IOC Packages
Last updated 2 years ago.
0

I have found the solution! The problem was in the Intercom PHP Package. In the src/ folder of the package they were writing the folder of the intercom namespace in lowercase letters like so:

src/intercom/...

Since intercom doesn't match the namespace Intercom it didn't work!

However, on my local Mac it did work, since I guess the Mac is case-insensitive and doesn't care?!

I have been pulling my hair over this one and hope this helps others with this kind of issue...

Make sure that your Namespace matches the folder case in which it resides.

Last updated 2 years ago.
0

This happens on Windows environments as well, and I pulled out a few hairs before I worked that out too.

Last updated 2 years ago.
0

Maybe it's about git, you are pushing changings with some certain case sensitive Folders and Files, but git is changing this therefore it will work on Mac and Windows OSs but not on the server.

just use this command:

git config core.ignorecase false

above command for the current repository and you may add --global just after config keyword for global use.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.