Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation Error via Composer #743

Open
Mohammad-Alavi opened this issue Feb 8, 2024 · 0 comments
Open

Installation Error via Composer #743

Mohammad-Alavi opened this issue Feb 8, 2024 · 0 comments

Comments

@Mohammad-Alavi
Copy link
Member

Mohammad-Alavi commented Feb 8, 2024

Apiato Version

12.x

PHP Version

8.x

Database Driver & Version

No response

Description

Problem:

I get this error while creating a new project via Composer.

Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 255

Solution:

As it is mentioned in the docs, you have to use the --no-scripts configuration option.

composer create-project apiato/apiato my-project --no-scripts

Alternativily if you forgot to use the --no-scripts option during installation, you can just do a composer update.

composer update

Steps To Reproduce

Create project without the --no-scripts

composer create-project apiato/apiato my-project
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant