-
Notifications
You must be signed in to change notification settings - Fork 9
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
SyntaxError: Unexpected token 'export' #169
Comments
Having the same. @adinanp did you find a work around? |
Can you provide a reproducible example? I will take a look in the following days. But, I must say, this looks like a problem with node esm vs commonjs. |
I've fixed by adding these to my
|
I confirm that the same error happened to me when upgrading to version 2.0.0 |
Same problem here. We are using mocha in a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When trying to recreate the examples from README, I get a type error.
Facatory:
The error
SyntaxError: Unexpected token 'export'
Full stack trace (expand)
```Versions:
This is a bug or a miss configuration?
Let me see if you need more reproducible information to help me.
Thanks
The text was updated successfully, but these errors were encountered: