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

TypeError in NodeJS wth Express #8

Open
visheshtungarev opened this issue Jun 9, 2018 · 1 comment
Open

TypeError in NodeJS wth Express #8

visheshtungarev opened this issue Jun 9, 2018 · 1 comment

Comments

@visheshtungarev
Copy link

how can i use it in my node js app
its gives me error "var myScheduler = new Scheduler();
^

TypeError: Scheduler is not a constructor
at Object. (E:\Hatook\TheDoctorApp\app.js:9:19)
at Module._compile (module.js:624:30)
at Object.Module._extensions..js (module.js:635:10)
at Module.load (module.js:545:32)
at tryModuleLoad (module.js:508:12)
at Function.Module._load (module.js:500:3)
at Function.Module.runMain (module.js:665:10)
at startup (bootstrap_node.js:201:16)
at bootstrap_node.js:626:3"

@quinnlangille
Copy link
Member

hey @visheshtungarev, sorry for the late reply. Not sure if you were still having the issue or still working on this, but if you are mind sharing how you're importing Scheduler?

@quinnlangille quinnlangille changed the title node js / express TypeError in NodeJS wth Express Oct 10, 2018
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

2 participants