Sparclex / nova-import-card

A customizable resource import card for laravel nova
MIT License
31 stars 34 forks source link

Error importing #23

Closed patricktsg closed 5 years ago

patricktsg commented 5 years ago

Screen Shot 2019-04-01 at 18 34 23 Happens after selecting the CSV file and hitting import - I have the card registered ona Product resource as such:

new \Sparclex\NovaImportCard\NovaImportCard(Product::class),

Note: the docs say to reference the class through App\Nova\Model::class but this seems to repeat the App\Nova\App\Nova

acewebsa commented 5 years ago

Did you work out a way around this? I'm getting the same issue occurring.

Using new NovaImportCard(Blog::class),

patricktsg commented 5 years ago

No sadly, just gave up on it - will build my own solution soon.

Sparclex commented 5 years ago

If you provide the full stack trace (shown in the console), the csv file, and the nova resource class I might be able to help you

Thank you for telling the issue with the documentation, I updated the readme.