I have followed the steps from the link and able to run the code on Local environment however the same code once deployed to app catalog, doesn't work. Started to get the error while retrieving The term group ID
"Error: Error making HttpClient request in queryable [400] ::> {"error":{"code":"invalidRequest","message":"Failed to parse the termGroupId."}}"
I have updated the pnp to latest version 2.7.0