I wrote an extension that worked locally, and I tried to put it into production
So I copied the entire extension file directly to the server, and here is my composer. Json configuration, production and local environment is the same path:
"repositories": [{
"type": "path",
"url": "~/workspace/composer_packages/*"
}]
I can also start it in the background of Flarum, but the permission Settings are not loaded, so I debug admin.js and find that the console does not output the log I printed
Then I var_dump(' 222 ') in extend.php; die;
Then the cache is deleted and the page is refreshed without any response
Does anyone know what went wrong? I don't know where to start.