In setting up a small repo I could share with you I made a very stripped down version of the code.
So figured the issue was I had a process.exit(0) call at the end of server.js which caused puppeteer to terminate.
Didn’t expect that to be the issue since the scrape Promise always started...
But it makes sense now.
So in the end this is due to me only recently having started playing with node.
Again, thanks for your availability.
Best
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi Jason and Bruno!
Thanks for your availability.
In setting up a small repo I could share with you I made a very stripped down version of the code.
So figured the issue was I had a
process.exit(0)
call at the end of server.js which caused puppeteer to terminate.Didn’t expect that to be the issue since the scrape Promise always started...
But it makes sense now.
So in the end this is due to me only recently having started playing with node.
Again, thanks for your availability.
Best