Describe the bug
Trying to create a custom component results in the following error:
Error: You have declared using "bundled" babelHelpers, but transforming /Users/k/Documents/Projects/site/wd/.adminjs/.entry.js resulted in "runtime". Please check your configuration.
Installed libraries and their versions
adminjs@5.1.0
@adminjs/express@4.0.0
@adminjs/sequelize@2.0.0
To Reproduce
Admittedly, this is a complex project. It's a Vue app with an Express backend to handle SAML authentication. I just wanted to try this out as a potential candidate for a CMS. It's working and connecting well, but creating a custom React component results in the above error. I'm sure it's possible this is some sort of conflict with the Vue app, but thought I would check here before moving on.
Expected behavior
A custom component is created.
Screenshots
.adminjs/.entry.js creates the following:
AdminJS.UserComponents = {}
import Component1 from '../admin/components/my-dashboard-component'
AdminJS.UserComponents.Component1 = Component1
import Component2 from '../admin/components/some-stats'
AdminJS.UserComponents.Component2 = Component2
AdminJSOptions with schema
I don't think it's related but here's what I have:
Describe the bug Trying to create a custom component results in the following error:
Error: You have declared using "bundled" babelHelpers, but transforming /Users/k/Documents/Projects/site/wd/.adminjs/.entry.js resulted in "runtime". Please check your configuration.
Installed libraries and their versions
To Reproduce Admittedly, this is a complex project. It's a Vue app with an Express backend to handle SAML authentication. I just wanted to try this out as a potential candidate for a CMS. It's working and connecting well, but creating a custom React component results in the above error. I'm sure it's possible this is some sort of conflict with the Vue app, but thought I would check here before moving on.
Expected behavior A custom component is created.
Screenshots .adminjs/.entry.js creates the following:
AdminJSOptions with schema I don't think it's related but here's what I have:
Additional context My babel.config.js is just the following. I'm guessing I need additional transforms possibly here?
I tried adding
"plugins": ["@babel/plugin-transform-runtime"]
but still no dice.