Carbon Fields, Local and symlinks

Just a quick reminder to my future self: if you ever will find yourself stuck again, spending countless hours trying to understand why Carbon Fields doesn’t work inside your brand new WordPress plugin you’re developing locally using Local environment, Composer AND a symlink to a separate plugin folder somewhere on you computer.

DELETE THAT SYMLINK

For some reason, Local + Carbon Fields + Composer + Symlink don’t really get along very well together so you’re probably better off just having a regular gitified plugin folder inside Local container. And no fancy symlinks, please.

Btw, problem persists on all environments, be it Ubuntu or macOS.

Leave a comment

Write something about it

%d bloggers like this: