-
Notifications
You must be signed in to change notification settings - Fork 646
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
... can only be default-imported using the 'esModuleInterop' flag #233
Comments
in your tsconfig you have to add: "esModuleInterop": true - it should help. |
I found I had to use |
im having this error but only in neovim's lint...running a |
I had to close and reopen VSCode on Mac for the linting to catch up. |
Hey! I'm still getting this even with "esModuleInterop" set to true :/ |
For me, this helped med. |
adding
|
Hello!
First, thank you for your amazing project that is helping me to gain a considerable amount a time!
So I set up admin bro on my project, configured the admin panel, authentification & everything is working. But when I tried to deploy it on my server, I got a lot of errors related to typescript. This project is quite big so I have many modules but I don't think it's on my end.
I'm using this 3 modules from adminbro:
Just in case, here is my tsconfig.json:
And the yarn build is only
rimraf build && tsc --outDir build
. I don't have the problem in dev because i'm using nodemon I think...Here is the report:
Thanks in advance for your help & thanks for your work!
The text was updated successfully, but these errors were encountered: