stepanenko3 / nova-media-field

A Laravel Nova field for laravel-medilibrary.
MIT License
13 stars 6 forks source link

Cannot read properties of undefined #44

Open daPhantom opened 3 months ago

daPhantom commented 3 months ago

After upgrading my dependencies to the latest version and switching from ^2.0 to ^3.0 I get the following error and the field is not rendering anymore.

nova-file-manager:36 Uncaught TypeError: Cannot read properties of undefined (reading 'DependentFormField')
    at nova-file-manager:36:50088
    at nova-file-manager:1:220
    at nova-file-manager:1:246
nova-media-field:36 Uncaught TypeError: Cannot read properties of undefined (reading 'FormField')
    at nova-media-field:36:50256
    at nova-media-field:1:220
    at nova-media-field:1:246
archtechx/enums                     1.0.1   Helpers for making PHP enums more lovable.
aws/aws-crt-php                     1.2.5   AWS Common Runtime for PHP
aws/aws-sdk-php                     3.312.0 AWS SDK for PHP - Use Amazon Web Services in your PHP project
barryvdh/laravel-debugbar           3.13.5  PHP Debugbar integration for Laravel
barryvdh/laravel-ide-helper         3.0.0   Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.
barryvdh/reflection-docblock        2.1.1
brick/math                          0.12.1  Arbitrary-precision arithmetic library
brick/money                         0.9.0   Money and currency library
carbonphp/carbon-doctrine-types     3.2.0   Types to use Carbon in Doctrine
components/font-awesome             5.15.4  Font Awesome, the iconic SVG, font, and CSS framework.
composer/class-map-generator        1.3.3   Utilities to scan PHP code and generate class maps.
composer/pcre                       3.1.4   PCRE wrapping library that offers type-safe preg_* replacements.
composer/semver                     3.4.0   Semver library that offers utilities, version constraint parsing and validation.
datomatic/nova-enum-field           1.9.0   A Laravel Nova PHP 8.1 enum field with filters
dflydev/dot-access-data             3.0.2   Given a deep data structure, access data by dot notation.
doctrine/dbal                       4.0.2   Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and management.
doctrine/deprecations               1.1.3   A small layer on top of trigger_error(E_USER_DEPRECATED) or PSR-3 logging with options to disable all deprecations or selectively for packages.
doctrine/inflector                  2.0.10  PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and singular/plural forms of words.
doctrine/lexer                      3.0.1   PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.
dragon-code/contracts               2.23.0  A set of contracts for any project
dragon-code/pretty-array            4.1.0   Simple conversion of an array to a pretty view
dragon-code/support                 6.13.0  Support package is a collection of helpers and tools for any project.
dragonmantank/cron-expression       3.3.3   CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due
ebess/advanced-nova-media-library   4.2     Laravel Nova tools for managing the Spatie media library.
egulias/email-validator             4.0.2   A library for validating emails against several RFCs
facade/ignition-contracts           1.0.2   Solution contracts for Ignition
fakerphp/faker                      1.23.1  Faker is a PHP library that generates fake data for you.
filp/whoops                         2.15.4  php error handling for cool kids
fruitcake/php-cors                  1.3.0   Cross-origin resource sharing library for the Symfony HttpFoundation
graham-campbell/manager             5.1.0   Manager Provides Some Manager Functionality For Laravel
graham-campbell/result-type         1.1.2   An Implementation Of The Result Type
guzzlehttp/guzzle                   7.8.1   Guzzle is a PHP HTTP client library
guzzlehttp/promises                 2.0.2   Guzzle promises library
guzzlehttp/psr7                     2.6.2   PSR-7 message implementation that also provides common utility methods
guzzlehttp/uri-template             1.0.3   A polyfill class for uri_template of PHP
hamcrest/hamcrest-php               2.0.1   This is the PHP port of Hamcrest Matchers
hashids/hashids                     5.0.2   Generate short, unique, non-sequential ids (like YouTube and Bitly) from numbers
inertiajs/inertia-laravel           1.2.0   The Laravel adapter for Inertia.js.
laravel-lang/attributes             2.10.7  List of 126 languages for form field names
laravel-lang/config                 1.1.1   The Laravel-Lang config package
laravel-lang/lang                   15.5.1  List of 126 languages for Laravel Framework, Laravel Jetstream, Laravel Fortify, Laravel Breeze, Laravel Cashier, Laravel Nova, Laravel Spark and Laravel UI
laravel-lang/locale-list            1.4.0   List of localizations available in Laravel Lang projects
laravel-lang/locales                2.8.0   Basic functionality for working with localizations
laravel-lang/native-country-names   1.4.0   The project contains native translations of country names
laravel-lang/native-currency-names  1.4.0   The project contains native translations of currency names
laravel-lang/native-locale-names    2.3.0   The project contains native translations of locale names
laravel-lang/publisher              16.4.0  Publisher lang files for the Laravel and Lumen Frameworks, Jetstream, Fortify, Cashier, Spark and Nova from Laravel-Lang/lang
laravel/framework                   11.10.0 The Laravel Framework.
laravel/nova                        4.34.2  A wonderful administration interface for Laravel.
laravel/nova-log-viewer             0.1.4   A Laravel Nova tool for viewing your application logs.
laravel/pennant                     1.8.1   A simple, lightweight library for managing feature flags.
laravel/pint                        1.16.0  An opinionated code formatter for PHP.
laravel/prompts                     0.1.23  Add beautiful and user-friendly forms to your command-line applications.
laravel/sail                        1.29.2  Docker files for running a basic Laravel application.
laravel/sanctum                     4.0.2   Laravel Sanctum provides a featherweight authentication system for SPAs and simple APIs.
laravel/serializable-closure        1.3.3   Laravel Serializable Closure provides an easy and secure way to serialize closures in PHP.
laravel/tinker                      2.9.0   Powerful REPL for the Laravel framework.
laravel/ui                          4.5.2   Laravel UI utilities and presets.
league/commonmark                   2.4.2   Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and GitHub-Flavored Markdown (GFM)
league/config                       1.2.0   Define configuration arrays with strict schemas and access values with dot notation
league/flysystem                    3.28.0  File storage abstraction for PHP
league/flysystem-aws-s3-v3          3.28.0  AWS S3 filesystem adapter for Flysystem.
league/flysystem-local              3.28.0  Local filesystem adapter for Flysystem.
league/mime-type-detection          1.15.0  Mime-type detection for Flysystem
league/uri                          7.4.1   URI manipulation library
league/uri-interfaces               7.4.1   Common interfaces and classes for URI representation and interaction
livewire/livewire                   3.5.0   A front-end framework for Laravel.
maennchen/zipstream-php             3.1.0   ZipStream is a library for dynamically streaming dynamic zip files from PHP without writing to the disk at all on the server.
markbaker/complex                   3.0.2   PHP Class for working with complex numbers
markbaker/matrix                    3.0.1   PHP Class for working with matrices
masterminds/html5                   2.9.0   An HTML5 parser and serializer.
maximebf/debugbar                   1.22.3  Debug bar in the browser for php application
mockery/mockery                     1.6.12  Mockery is a simple yet flexible PHP mock object framework
monolog/monolog                     3.6.0   Sends your logs to files, sockets, inboxes, databases and various web services
mtdowling/jmespath.php              2.7.0   Declaratively specify how to extract elements from a JSON document
myclabs/deep-copy                   1.11.1  Create deep copies (clones) of your objects
nesbot/carbon                       3.5.0   An API extension for DateTime that supports 281 different languages.
nette/schema                        1.3.0   📐 Nette Schema: validating data structures against a given Schema.
nette/utils                         4.0.4   🛠  Nette Utils: lightweight utilities for string & array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating...
nikic/php-parser                    5.0.2   A PHP parser written in PHP
nunomaduro/collision                8.1.1   Cli error handling for console/command-line PHP applications.
nunomaduro/termwind                 2.0.1   Its like Tailwind CSS, but for the console.
openspout/openspout                 4.24.1  PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way
phar-io/manifest                    2.0.4   Component for reading phar.io manifest information from a PHP Archive (PHAR)
phar-io/version                     3.2.1   Library for handling version information and constraints
phpdocumentor/reflection-common     2.2.0   Common reflection classes used by phpdocumentor to reflect the code structure
phpdocumentor/type-resolver         1.8.2   A PSR-5 based resolver of Class names, Types and Structural Element Names
phpoffice/phpspreadsheet            2.1.0   PHPSpreadsheet - Read, Create and Write Spreadsheet documents in PHP - Spreadsheet engine
phpoption/phpoption                 1.9.2   Option Type for PHP
phpstan/phpdoc-parser               1.29.1  PHPDoc parser with support for nullable, intersection and generic types
phpunit/php-code-coverage           11.0.3  Library that provides collection, processing, and rendering functionality for PHP code coverage information.
phpunit/php-file-iterator           5.0.0   FilterIterator implementation that filters files based on a list of suffixes.
phpunit/php-invoker                 5.0.0   Invoke callables with a timeout
phpunit/php-text-template           4.0.0   Simple template engine.
phpunit/php-timer                   7.0.0   Utility class for timing
phpunit/phpunit                     11.2.0  The PHP Unit Testing framework.
pion/laravel-chunk-upload           1.5.4   Service for chunked upload with several js providers
psr/cache                           3.0.0   Common interface for caching libraries
psr/clock                           1.0.0   Common interface for reading the clock.
psr/container                       2.0.2   Common Container Interface (PHP FIG PSR-11)
psr/event-dispatcher                1.0.0   Standard interfaces for event handling.
psr/http-client                     1.0.3   Common interface for HTTP clients
psr/http-factory                    1.1.0   PSR-17: Common interfaces for PSR-7 HTTP message factories
psr/http-message                    2.0     Common interface for HTTP messages
psr/log                             3.0.0   Common interface for logging libraries
psr/simple-cache                    3.0.0   Common interfaces for simple caching
psy/psysh                           0.12.4  An interactive shell for modern PHP.
ralouphie/getallheaders             3.0.3   A polyfill for getallheaders.
ramsey/collection                   2.0.0   A PHP library for representing and manipulating collections.
ramsey/uuid                         4.7.6   A PHP library for generating and working with universally unique identifiers (UUIDs).
rap2hpoutre/fast-excel              5.5.0   Fast Excel import/export for Laravel
sebastian/cli-parser                3.0.1   Library for parsing CLI options
sebastian/code-unit                 3.0.0   Collection of value objects that represent the PHP code units
sebastian/code-unit-reverse-lookup  4.0.0   Looks up which function or method a line of code belongs to
sebastian/comparator                6.0.0   Provides the functionality to compare PHP values for equality
sebastian/complexity                4.0.0   Library for calculating the complexity of PHP code units
sebastian/diff                      6.0.1   Diff implementation
sebastian/environment               7.1.0   Provides functionality to handle HHVM/PHP environments
sebastian/exporter                  6.0.1   Provides the functionality to export PHP variables for visualization
sebastian/global-state              7.0.1   Snapshotting of global state
sebastian/lines-of-code             3.0.0   Library for counting the lines of code in PHP source code
sebastian/object-enumerator         6.0.0   Traverses array structures and object graphs to enumerate all referenced objects
sebastian/object-reflector          4.0.0   Allows reflection of object attributes, including inherited and non-public ones
sebastian/recursion-context         6.0.0   Provides functionality to recursively process PHP variables
sebastian/type                      5.0.0   Collection of value objects that represent the types of the PHP type system
sebastian/version                   5.0.0   Library that helps with managing the version number of Git-hosted PHP projects
spatie/backtrace                    1.6.1   A better backtrace
spatie/commonmark-shiki-highlighter 2.4.0   Highlight code blocks with league/commonmark and Shiki
spatie/eloquent-sortable            4.4.0   Sortable behaviour for eloquent models
spatie/flare-client-php             1.6.0   Send PHP errors to Flare
spatie/ignition                     1.14.2  A beautiful error page for PHP applications.
spatie/image                        3.6.4   Manipulate images with an expressive API
spatie/image-optimizer              1.7.5   Easily optimize images using PHP
spatie/laravel-collection-macros    7.14.0  A set of useful Laravel collection macros
spatie/laravel-comments             1.7.3   Associate comments and reactions with Eloquent models
spatie/laravel-comments-livewire    2.1.2   Livewire components for laravel-comments
spatie/laravel-ignition             2.7.0   A beautiful error page for Laravel applications.
spatie/laravel-markdown             2.5.2   A highly configurable markdown renderer and Blade component for Laravel
spatie/laravel-medialibrary         11.5.4  Associate files with Eloquent models
spatie/laravel-model-states         2.7.1   State support for Eloquent models
spatie/laravel-package-tools        1.16.4  Tools for creating Laravel packages
spatie/laravel-permission           6.7.0   Permission handling for Laravel 8.0 and up
spatie/laravel-tags                 4.6.1   Add tags and taggable behaviour to your Laravel app
spatie/laravel-translatable         6.7.1   A trait to make an Eloquent model hold translations
spatie/shiki-php                    2.0.0   Highlight code using Shiki in PHP
spatie/temporary-directory          2.2.1   Easily create, use and destroy temporary directories
stepanenko3/laravel-helpers         1.3.2   Helpers for laravel
stepanenko3/laravel-pagination      1.0.3   Great pagination generator for Laravel
stepanenko3/nova-filemanager        7.1.1   File manager tool for Laravel Nova
stepanenko3/nova-media-field        3.0.1   A Laravel Nova field for laravel-medilibrary.
symfony/clock                       7.1.1   Decouples applications from the system clock
symfony/console                     7.1.1   Eases the creation of beautiful and testable command line interfaces
symfony/css-selector                7.1.1   Converts CSS selectors to XPath expressions
symfony/deprecation-contracts       3.5.0   A generic function and convention to trigger deprecation notices
symfony/error-handler               7.1.1   Provides tools to manage errors and ease debugging PHP code
symfony/event-dispatcher            7.1.1   Provides tools that allow your application components to communicate with each other by dispatching events and listening to them
symfony/event-dispatcher-contracts  3.5.0   Generic abstractions related to dispatching event
symfony/finder                      7.1.1   Finds files and directories via an intuitive fluent interface
symfony/html-sanitizer              6.4.8   Provides an object-oriented API to sanitize untrusted HTML input for safe insertion into a document's DOM.
symfony/http-foundation             7.1.1   Defines an object-oriented layer for the HTTP specification
symfony/http-kernel                 7.1.1   Provides a structured process for converting a Request into a Response
symfony/mailer                      7.1.1   Helps sending emails
symfony/mime                        7.1.1   Allows manipulating MIME messages
symfony/polyfill-ctype              1.29.0  Symfony polyfill for ctype functions
symfony/polyfill-intl-grapheme      1.29.0  Symfony polyfill for intl's grapheme_* functions
symfony/polyfill-intl-icu           1.29.0  Symfony polyfill for intl's ICU-related data and classes
symfony/polyfill-intl-idn           1.29.0  Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions
symfony/polyfill-intl-normalizer    1.29.0  Symfony polyfill for intl's Normalizer class and related functions
symfony/polyfill-mbstring           1.29.0  Symfony polyfill for the Mbstring extension
symfony/polyfill-php72              1.29.0  Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions
symfony/polyfill-php80              1.29.0  Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions
symfony/polyfill-php81              1.29.0  Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions
symfony/polyfill-php83              1.29.0  Symfony polyfill backporting some PHP 8.3+ features to lower PHP versions
symfony/polyfill-uuid               1.29.0  Symfony polyfill for uuid functions
symfony/process                     7.1.1   Executes commands in sub-processes
symfony/routing                     7.1.1   Maps an HTTP request to a set of configuration variables
symfony/service-contracts           3.5.0   Generic abstractions related to writing services
symfony/string                      7.1.1   Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way
symfony/translation                 7.1.1   Provides tools to internationalize your application
symfony/translation-contracts       3.5.0   Generic abstractions related to translation
symfony/uid                         7.1.1   Provides an object-oriented API to generate and represent UIDs
symfony/var-dumper                  7.1.1   Provides mechanisms for walking through any arbitrary PHP variable
symfony/yaml                        7.1.1   Loads and dumps YAML files
theseer/tokenizer                   1.2.3   A small library for converting tokenized PHP source code into XML and potentially other formats
tijsverkoyen/css-to-inline-styles   2.2.7   CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.
venturecraft/revisionable           1.41.0  Keep a revision history for your models without thinking, created as a package for use with Laravel
vinkla/hashids                      12.0.0  A Hashids bridge for Laravel
vlucas/phpdotenv                    5.6.0   Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.
voku/portable-ascii                 2.0.1   Portable ASCII library - performance optimized (ascii) string functions for php.
webmozart/assert                    1.11.0  Assertions to validate method input/output with nice error messages.
metasyncSite commented 2 weeks ago

+++