question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

View did not publish on install

See original GitHub issue

Bug report

What I did

I installed Backpack 4.1 But the dashboard view and admin controller are not there.

What I expected to happen

What happened

I can see them in the vendor folder

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 7.3.24 (cli) (built: Nov 18 2020 10:14:01) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.24, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.3.24, Copyright (c) 1999-2018, by Zend Technologies
    with Xdebug v2.9.8, Copyright (c) 2002-2020, by Derick Rethans

### LARAVEL VERSION:
v8.19.0@f5f331cee60f1bbe672503b7eb9ba5b22b2ceacb

### BACKPACK VERSION:
4.1.29@2298dd028d6379ad93973226018d87c21aa2c6c5

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
pxpmcommented, Dec 18, 2020

Hello @MikePageDev

Thanks for opening your issue here in Backpack.

Indeed, we don’t publish the files, you can do it regularly with php artisan vendor:publish or use the built-in backpack command to publish the required file: php artisan backpack:publish base/dashboard.

About the controller you can use your own controller extending the default backpack controller. In a Service provider (AppServiceProvider for example), in the register() method, you can write something like:

$this->app->bind(
        \Backpack\CRUD\app\Http\Controllers\AdminController::class,
        \App\Http\Controllers\Admin\YourCustomController::class
    );

Everytime APP requires backpack controller you custom controller will be served.

I don’t think this is a bug so I am going to close this. We use Github for issues or features requests, when in doubt we have other mediums where you can ask more generic questions, like this one.

The links will be available on the BOT response.

Thanks in advance, Pedro

0reactions
MikePageDevcommented, Jan 4, 2021

@tabacitu Thank you for looking into this

Read more comments on GitHub >

github_iconTop Results From Across the Web

ran npm publish without error but cannot see updated package
I updated my version in package.json and ran "npm publish". I did not see any error and ...
Read more >
The publish components are not available. You need to ...
It runs and builds fine with no problems. When i attempted to publish it I got the error "The publish components are not...
Read more >
Publish was successful but npm install doesn't work #20574
I'm opening this issue because: npm is crashing. npm is producing an incorrect install. npm is doing something I don't understand. npm is...
Read more >
Control when app changes are published with managed ...
Step 3: Publish your app update · On the left menu, select Publishing overview. · Check that all your changes have been approved...
Read more >
How to: Publish and Install an Extension - Business Central
To install an extension by using the client​​ In Dynamics 365 Business Central, use search to open the Extension Management page. In the ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found