DEV Community

[Comment from a deleted post]
Collapse
 
alexparra profile image
Alex Parra

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