cretueusebiu / laravel-vue-spa

A Laravel-Vue SPA starter kit.

Home Page:https://laravel-vue-spa.cretueusebiu.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error at install

NegativeIQ opened this issue · comments

Error happens at install

    0 [>---------------------------]    0 [>---------------------------]Generati
ng optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi

In PackageManifest.php line 131:

  Undefined index: name


Script @php artisan package:discover --ansi handling the post-autoload-dump even
t returned with error code 1

C:\Users\Ice\Desktop>

Log
https://gist.github.com/NegativeIQ/ffeadbbfdea891868558245c71705efb#file-laravel-2020-11-14-txt

I got a same error. Did you fix it?

My error is In PackageManifest.php line 122: Undefined index: name

I wrote if (!isset($package['name'])) return [];
before return [$this->format($package['name']) => $package['extra']['laravel'] ?? []];
in a vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php

And its work.
Read another: https://stackoverflow.com/questions/61177995/laravel-packagemanifest-php-undefined-index-name


PHP 7.1.33 (cli)
Composer version 2.0.8

It only supports PHP >= 7.3.