Php Artisan package:discover –ansi handling the post-autoload-dump event returned with error code 255

Php Artisan package:discover –ansi handling the post-autoload-dump event returned with error code 255

Laraship QuestionsCategory: TechnicalPhp Artisan package:discover –ansi handling the post-autoload-dump event returned with error code 255
eroaydogan asked 2 weeks ago
Hey there,
I try to deploy the laraship app to Mamp-pro. Everything goes smoothly until I got this error.
“Generating optimized autoload files
ocramius/package-versions: Generating version class…
ocramius/package-versions: …done generating version class
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover –ansi
Script @php artisan package:discover –ansi handling the post-autoload-dump event returned with error code 255”
so from this error when I run the command of  “php artisan key:generate” artisan didn’t generate a key for .env file.
artisan didn’t migrate too. I stuck
Any suggestion?

MacX – Catalina
Mamp-Pro | php 7.4.2

laraship
Staff replied 2 weeks ago

Hello,
I don’t see any error in your question, can you post it

eroaydogan
replied 2 weeks ago

Hi,
I found the error and solve the problem. Installation was successful… Installation on MAMP-Pro on macOX (Catalina)
But I have problem with upload the demo staff. I want to use the Corals Marketplace Pro template .I able to activate bet con not install Demo files. It say uploading of Demo is is successful but nothing change. I have ‘Couldn’t check license License not found’ error…

?1- Do I have to update the license keys of the modules to my License Key for working properly?
?2- Do I have to put the .env file inside of ‘Public’ folder or put the files inside of the ‘Public’ folder out to root folder? Root Folder is ‘laraship’

Now Document root like this :
HDD > Applications > MAMP > htdocs > laraship > public (.env file inside of ‘Laraship’ folder not in the ‘public’ folder… It works but I cannot install the Demo files.
any suggestion?
Thanks.

laraship
Staff replied 2 weeks ago

Hello,
Please open new questions for different subjects, thanks

70% OFF

No Minimum, No Exceptions
 
GO TO STORE
close-link