Error when creating plugin

Okey, so I tried to create the plugin somwhere else, and as long as it’s not in the Users subdirectory it works. Basically I can’t create the plugin in the folder of my project. Any idea why?