You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Got error when tried to import @adminjs/upload: The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("@adminjs/upload")' call instead.
The text was updated successfully, but these errors were encountered:
The latest versions of AdminJS packages can only be used in ESM projects. If your project is CommonJS, you'd have to downgrade to AdminJS v6 and use it's compatible dependencies.
Got error when tried to import @adminjs/upload: The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("@adminjs/upload")' call instead.
The text was updated successfully, but these errors were encountered: