Skip to content
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

Weird issue with constructor #22

Open
CutiePi opened this issue Feb 8, 2023 · 0 comments
Open

Weird issue with constructor #22

CutiePi opened this issue Feb 8, 2023 · 0 comments

Comments

@CutiePi
Copy link

CutiePi commented Feb 8, 2023

ON v1.0.0
TypeError: BunyanSlack is not a constructor
If we don't use
const BunyanSlack = require('bunyan-slack').default; instead of const BunyanSlack = require('bunyan-slack');

Even on runkit the issue is reproducible
image
image

@CutiePi CutiePi changed the title Can you publish to update to the most recent version? Weird issue we encounter Feb 8, 2023
@CutiePi CutiePi changed the title Weird issue we encounter Weird issue with constructor Feb 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant