-
Notifications
You must be signed in to change notification settings - Fork 135
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
Unexpected token 'export' #293
Comments
Looks like you are trying to load es modules as if they are cjs? What are you transpiling to? Are you using ts node? I don’t have much to go on. |
I'm compiling with |
Seems like the *.d.ts files are not excluded any more. Maybe the syntax changed. |
Its possible that fast-glob isn’t respecting that ignore pattern then. I haven’t had to add those myself though and I also use TypeScript. |
Yes, seems like there are several problems with fast-glob ignore patterns like this issue which is close to my issue: mrmlnc/fast-glob#357 |
We will have to wait until the issue is fixed in |
FYI the issue of fast-glob has been closed, but the release has not happened (although it was mentioned). |
I left a comment but no news yet. |
This error happens on startup since version
6.1.0
:Might it have to do with replacing
glob
byfast-glob
?My project uses Typescript and I use
loadModules
to load classes:The text was updated successfully, but these errors were encountered: