perhaps its the scope or the method in which I'm invoking the puppeteer methods.
if I comment the puppeteer code, the return "im back" statement executes and is returned through GraphQL API to client.
I get a failed to fetch issue if the code is executed.
first proposed approach:
put the puppeteer functionality in a callback function thats out of GraphQL API scope.
test GraphQL with a fetch to return the string value (already confirmed to work)
Invoke that function as the only other code within the resolve: () => { } statement besides the return string statement.
perhaps its the scope or the method in which I'm invoking the puppeteer methods. if I comment the puppeteer code, the return "im back" statement executes and is returned through GraphQL API to client.
I get a failed to fetch issue if the code is executed.
first proposed approach: put the puppeteer functionality in a callback function thats out of GraphQL API scope. test GraphQL with a fetch to return the string value (already confirmed to work)
Invoke that function as the only other code within the resolve: () => { } statement besides the return string statement.