laravel-crm
laravel-crm copied to clipboard
Cannot install on L(22) A(2) M(8) P(8)
Bug report
I've followed the instructions, installing all the required software (or higher). When I run composer create, it says the lock file is not up to date. When I cd into the folder (not something which is mentioned, apart from in the article), and run the artisan command (so the second step), it says "no such file or directory".
It then fails, and nothing else can be done.
- Linux 22.04 Server minimal.
- Apache 2..4.52
- MySQL 8.0.32
- PHP 8.1.2
- Node 12.22.9
- Composer 2.5.4
I'm trying to debug it, and it's just not feasible with the "or higher" packages. There are too many things missing, and too many things that are incompatible. So get ready to install Ubuntu 18, and all the old, un-supported tech stack.
Hi there. Is it possible to share the steps which you are following for install the krayin crm?
I also encountered the issue of the lock file being out of date here: #1156, forcing composer update -W
does seem to suppress some of the errors, for now.
Hi!
When you say:
When I run composer create, it says the lock file is not up to date.
It's a little strange, because:
- If you run
composer create-project ...
is because you have no previous files. So it shouldn't exist a lock file. - If you have a lock file is because you have downloaded the files. In this case you have to use another install method.
(Remember to add the steps to reproduce the error. It helps to try and check it.)
Steps to install with create-project
- No previous files!
- Go to the directory to install the files
$ composer create-project krayin/laravel-crm krayin --no-dev
- Move all files to your root web server or live it there to install it in a subdirectory
- Change to the directory with the files (web root or subdirectory)
- Update .env file
$ composer install --optimize-autoloader --no-dev
$ php artisan krayin-crm:install
Steps to install with package release
- Download package from https://github.com/krayin/laravel-crm/releases
- Extract files to web root or subdirectory
- Change to the directory with the files (web root or subdirectory)
- Update .env file
$ composer update
$ composer install --optimize-autoloader --no-dev
$ php artisan krayin-crm:install
Note
If you are developing the app, then remove the --no-dev
options in the composer
commands.
opened a PR for .lock file https://github.com/krayin/laravel-crm/pull/1227