-
Notifications
You must be signed in to change notification settings - Fork 12
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
TypeError: Pulse is not a constructor #38
Comments
Well, I figured it out. It turns out there is a mistake in import script. It should import like this |
Are you using JavaScript or Typescript? |
@code-xhyun I'm using Typescript |
@hakimscode |
@code-xhyun Sure, I'm using this is my tsconfig
|
Thx : ) @hakimscode |
@hakimscode I tried the same configuration as you, but I did not encounter any issues. I will continue to investigate |
The same error for javascript. |
I am using like this and getting same error
|
@AlexeyMoiseev @virendrak-dev I will check and inform you assuming that an issue occurs in JavaScript. |
This works in my case. ESM, nodejs v20.15.1 |
in my case this works while @pulsecron/pulse: 1.6.3 |
I'm trying to use Pulse (migrated from Agenda). This is my code
But I got an error that says:
Can someone explain why it happen and how to fix this? thanks
The text was updated successfully, but these errors were encountered: