Open pras-bot opened 3 months ago
Hello @pras-bot.
Thanks for highlighting this.
From what I can see, there's no mention of process.env
inside the distribution folder of the twilio-taskrouter@2.0.3
package.
I'm assuming your errors might come from a TypeScript compiler when processing the third party modules in use by the twilio-taskrouter
package.
I would suggest you to enable the skipLibCheck
flag under your tsconfig.json
and see if that helps in mitigating the problem.
Also, since you mention the problem is showing when consuming twilio-taskrouter
v2.0.3
, can you please specify if the same problem is also visible when reverting the package to an older version?
Please, let me know if that worked.
@andreasonny83 I am also getting same error with 2.0.6 version. My angular version is 17 and skipLibCheck is enabled in tsconfig.json. Need help
Any update we have to update package in our project stuck in this issue.
I am using 'twilio-taskrouter' v2.0.3 npm package in Angular v17 app. Getting error on accessing the app from browser:
I have debugged this further, twilio-taskrouter is importing 'util' package, which tries to access the (Node) 'process' variable: