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

Cannot install on L(22) A(2) M(8) P(8) #1169

Closed
Quin452 opened this issue Mar 9, 2023 · 5 comments
Closed

Cannot install on L(22) A(2) M(8) P(8) #1169

Quin452 opened this issue Mar 9, 2023 · 5 comments
Assignees

Comments

@Quin452
Copy link

Quin452 commented Mar 9, 2023

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
@Quin452
Copy link
Author

Quin452 commented Mar 9, 2023

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.

@Sanjaybhattwebkul
Copy link
Collaborator

Hi there.
Is it possible to share the steps which you are following for install the krayin crm?

@zlaw-webmaster
Copy link

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.

@pablorq
Copy link

pablorq commented Jul 9, 2023

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

$ 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.

@prabhat-webkul
Copy link
Collaborator

opened a PR for .lock file #1227

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

5 participants