Benjacho / belongs-to-many-field-nova

Belongs To Many field Laravel nova to represent many to many relationship in field.
MIT License
157 stars 81 forks source link

"Unresolvable dependency resolving [Parameter #0 [ <required> $resource ]] in class Laravel\Nova\Resource" #5

Closed terasupernova closed 5 years ago

terasupernova commented 5 years ago

Hi, when i create the new record with multi select then this error pop up. "Unresolvable dependency resolving [Parameter #0 [ <required> $resource ]] in class Laravel\Nova\Resource"

Screen Shot 2019-05-31 at 11 43 59 AM

Did I miss out anything? Please help. Thank you very much.

Benjacho commented 5 years ago

can you send me your code?

terasupernova commented 5 years ago

Hi @Benjacho thanks for the reply. The issue is solved. Thanks.

adeel-at-cierra commented 4 years ago

@Benjacho I am facing this same issue will you let me know what was the issue ?

papiyinks commented 4 years ago

@terasupernova Hi, can you explain how you solved it. I'm having the same issue. Please reply. Thanks

miracsengonul commented 3 years ago

@terasupernova Hi, can you explain how you solved it. I'm having the same issue. Please reply. Thanks

You should check your use Model path. It mustn't be App\Nova\XXX; Must be App\Models\XXX; instead