Thank you so much for the tutorial. I ran into an error and would be obliged if you could help me.
I got TypeError: Book is not a constructor in this piece of code (pls see screenshot - dev-to-uploads.s3.amazonaws.com/i/...) and cannot move further with the tutorial.
Thanks in advance.
Hello Edin!
Thank you so much for the tutorial. I ran into an error and would be obliged if you could help me.
I got
TypeError: Book is not a constructor
in this piece of code (pls see screenshot - dev-to-uploads.s3.amazonaws.com/i/...) and cannot move further with the tutorial.Thanks in advance.
Add the line
to book.model.js
I fixed it above, sorry for that.
Thanks for your prompt reply Edin! I appreciate that.
One more thing, Edin, would you pls fix this part of code, otherwise someone will run into a
ReferenceError: next is not defined
:-) Thanks again!