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

[Bug] #70

Closed
Scout3030 opened this issue Mar 15, 2024 · 4 comments
Closed

[Bug] #70

Scout3030 opened this issue Mar 15, 2024 · 4 comments

Comments

@Scout3030
Copy link

Bug report

What I did

Running php artisan backpack:require:devtools on a fresh laravel 10.10 setup

What I expected to happen

Install the dependency

What happened

An error on console appeared

What I've already tried to fix it

??

Backpack, Laravel, PHP, DB version

When I run php artisan backpack:version the output is:

### PHP VERSION:
PHP 8.1.25 (cli) (built: Oct 27 2023 14:00:40) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.25, Copyright (c) Zend Technologies
    with Zend OPcache v8.1.25, Copyright (c), by Zend Technologies

### LARAVEL VERSION:
10.48.2.0

### BACKPACK PACKAGE VERSIONS:
backpack/basset: 1.3.0
backpack/crud: 6.6.6
backpack/generators: v4.0.4
backpack/permissionmanager: 7.1.1
backpack/theme-tabler: 1.2.8

Operating System and Server Setup

I encountered the problem above on my Linux machine Ubuntu 22.04, and my web server is set up using Valet linux plus.

2024-03-15_12-15

@jcastroa87
Copy link
Member

Hello @Scout3030

Did you set your token and Backpack private repository as instructions say on https://backpackforlaravel.com/user/tokens ?

Because Devtools is a paid Addons so, need to set the premium tokens before.

Then check in composer.json is set like this, because you have Backpack 6 and is look like you tried to install Devtools 1.3:

"require-dev": {
        "backpack/devtools": "^3.0",
       ...

Cheers.

@pxpm
Copy link

pxpm commented Mar 15, 2024

Just to add on @jcastroa87 response, it's possible that you don't have access to a devtools version after ^1.3, you can check in your account tokens if that is the case.

In case it does, there are three solutions for it:

  • buy devtools to get the current version you can use with backpack ^6.0
  • downgrade to backpack ^5.0 in your project composer.json to use devtools 1.3
  • don't use devtools in that project to continue using backpack ^6.0

Cheers

@Scout3030
Copy link
Author

Scout3030 commented Mar 15, 2024 via email

@jcastroa87
Copy link
Member

Im glad you solve the problem. I will close the issue, but please feel free to re-open or create a new one.

Cheers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

3 participants