jahondust / model-log

Voyager Model Log
28 stars 15 forks source link

Installation problem "require.model-log is invalid, it should have a vendor name" #10

Open chrisoprea opened 3 years ago

chrisoprea commented 3 years ago

php artisan hook:install model-log

require.model-log is invalid, it should have a vendor name, a forward slash, and a package name. The vendor and package name can be words separated by -, . or _. The complete name should match "^[a-z0-9]([_.-]?[a-z0-9]+)*/[a-z0-9]
(([_.]?|-{0,2})[a-z0-9]+)*$".
sranch commented 3 years ago

I'm experiencing the same issue on Laravel 7 and Voyager 1.4.

sranch commented 3 years ago

Is this package supported at all?

syofyanzuhad commented 3 years ago
  • Laravel: v8.33.1
  • Voyager: v1.4
  • PHP: v7.4.5

php artisan hook:install model-log

require.model-log is invalid, it should have a vendor name, a forward slash, and a package name. The vendor and package name can be words separated by -, . or _. The complete name should match "^[a-z0-9]([_.-]?[a-z0-9]+)*/[a-z0-9]
(([_.]?|-{0,2})[a-z0-9]+)*$".

and it must be the composer version 2.x right ?

chrisoprea commented 3 years ago
  • Laravel: v8.33.1
  • Voyager: v1.4
  • PHP: v7.4.5

php artisan hook:install model-log

require.model-log is invalid, it should have a vendor name, a forward slash, and a package name. The vendor and package name can be words separated by -, . or _. The complete name should match "^[a-z0-9]([_.-]?[a-z0-9]+)*/[a-z0-9]
(([_.]?|-{0,2})[a-z0-9]+)*$".

and it must be the composer version 2.x right ?

yes, 2.0.8

ghost commented 3 years ago

same here

"laravel/framework": "^8.40", "tcg/voyager": "^1.4", php: 7.3.28

ghost commented 3 years ago

It's because of a composer update that all hooks wont work. They don't know why this happens though.

jhjinks commented 3 years ago

Same issue after downgrading composer to 1.10.x, hooks will not install. "laravel/framework": "^8.40", "tcg/voyager": "^1.4", php: 7.3.28

Repaldi commented 1 year ago

same here