Laravel Nova - Administration Panel For Laravel

Laravel Nova - Administration Panel For Laravel v5.4.4

No permission to download

seeder

New member
Sep 17, 2019
23
3
3
Hey, Thanks for the resource but i also think its missing some files. Not able to register and login.
 

Modsauc3

Active member
Mar 13, 2020
302
75
28
33
3xodus.digital
Hey, Thanks for the resource but i also think its missing some files. Not able to register and login.

The last step in the installation process is to set the correct permissions on the Panel files so that the webserver can use them correctly.

# If using NGINX or Apache (not on CentOS): chown -R www-data:www-data * # If using NGINX on CentOS: chown -R nginx:nginx * # If using Apache on CentOS chown -R apache:apache * # If using NGINX or Apache (not on CentOS): chown -R www-data:www-data * # If using NGINX on CentOS: chown -R nginx:nginx * # If using Apache on CentOS chown -R apache:apache *
 
  • Like
Reactions: semerkhet

seeder

New member
Sep 17, 2019
23
3
3
Hey @Modsauc3 I'm running it on local and when i access `/nova` i get the following error

Code:
Route [register] not defined. (View: /home/username/code/nova-install/nova/resources/views/auth/login.blade.php)

I ran `php artisan route:list` and it showed that the `login` path exists, but not able to get into the UI part (only password reset view works)

php artisan p:user:make
Not able to run this, used `php artisan nova:user` to create a new user

Can you let me know what version you're using? I'm running PHP 7.4, Laravel 8.5.15, Ubuntu 16.04
 
Last edited:

semerkhet

Member
Apr 18, 2019
35
28
18
JSON:
{
    "name": "laravel/laravel",
    "type": "project",
    "description": "The Laravel Framework.",
    "keywords": [
        "framework",
        "laravel"
    ],
    "license": "MIT",
    "require": {
        "php": "^7.3|^8.0",
        "fideloper/proxy": "^4.4",
        "fruitcake/laravel-cors": "^2.0",
        "guzzlehttp/guzzle": "^7.0.1",
        "laravel/framework": "^8.12",
        "laravel/nova": "*",
        "laravel/tinker": "^2.5"
    },
    "require-dev": {
        "facade/ignition": "^2.5",
        "fakerphp/faker": "^1.9.1",
        "laravel/sail": "^1.0.1",
        "mockery/mockery": "^1.4.2",
        "nunomaduro/collision": "^5.0",
        "phpunit/phpunit": "^9.3.3"
    },
    "repositories": [
        {
            "type": "path",
            "url": "./nova",
            "options": {
                "symlink": false
            }
        }
    ],
    "config": {
        "optimize-autoloader": true,
        "preferred-install": "dist",
        "sort-packages": true
    },
    "extra": {
        "laravel": {
            "dont-discover": []
        }
    },
    "autoload": {
        "psr-4": {
            "App\\": "app/",
            "Database\\Factories\\": "database/factories/",
            "Database\\Seeders\\": "database/seeders/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Tests\\": "tests/"
        }
    },
    "minimum-stability": "dev",
    "prefer-stable": true,
    "scripts": {
        "post-autoload-dump": [
            "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
            "@php artisan package:discover --ansi"
        ],
        "post-root-package-install": [
            "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
        ],
        "post-create-project-cmd": [
            "@php artisan key:generate --ansi"
        ]
    }
}

add nova to your composer.json as above : extract nova app in nova directory inside your laravel project on same level as app, bootstrap, config .....

Next run:
Bash:
composer update
php artisan nova:install
git status // optional
php artisan migrate
php artisan nova:user
 

seeder

New member
Sep 17, 2019
23
3
3
Hey @semerkhet, did the same using your `composer.json` file and the commands on both my linux pc as well as my friend's Mac. Same error, only the password reset works :(

Can you please DM your nova, we can check if anything is missing.
 

Attachments

  • 1616551353098.png
    1616551353098.png
    169.9 KB · Views: 91
  • 1616551476204.png
    1616551476204.png
    83.2 KB · Views: 89

seeder

New member
Sep 17, 2019
23
3
3
You are supposed to add to Pre-existing projects

Hey, I am using it for an add on to a new laravel project. The same is even suggested in the official documentation.

If it's not a trouble can you share a zip file of a simple nova project? I was going through GitHub issues and others are also getting such issues but the fixes they suggest already exist in my project.
 

alrickk

Active member
Jan 7, 2021
81
199
33
Hey @Modsauc3 I'm running it on local and when i access `/nova` i get the following error

Code:
Route [register] not defined. (View: /home/username/code/nova-install/nova/resources/views/auth/login.blade.php)
It's an obvious issue caused by missing the install step, thus an easy fix, but often overlooked when following the install instructions blingly. You need to add Nova's provider to your config/app.php under providers:
PHP:
 App\Providers\NovaServiceProvider::class,
And it'll work assuming you've installed vue auth:
Bash:
composer require laravel/ui "^1.0" --dev
php artisan ui vue --auth
 
  • Like
Reactions: semerkhet

seeder

New member
Sep 17, 2019
23
3
3
Thanks @alrickk and @Modsauc3, Finally got it working.

For anyone else stuck please do the following

Code:
composer create-project laravel/laravel website "8.*" --prefer-dist
cp -r nova website/nova
cp website/nova/webpack.mix.js.dist website/nova/webpack.mix.js
cd website
composer require laravel/ui --dev
php artisan ui vue --auth
** Update composer.json file with repositories and require **
composer update
php artisan nova:install
npm install && npm run dev
php artisan migrate
php artisan nova:user
 

Forum statistics

Threads
69,199
Messages
908,274
Members
236,727
Latest member
KeoO

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu