Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error ocurred with Teams JavaScript Client Library (@microsoft/teams-js) #18

Open
karamem0 opened this issue Oct 23, 2024 · 0 comments

Comments

@karamem0
Copy link

Hi,

I am building a Teams app (Microsoft Teams) and I got an error when updating packages.

Error message

Uncaught TypeError: Cannot read properties of undefined (reading 'fd')
    at n20.useColors (@microsoft_teams-js.js?v=3fe307ba:1390:104)
    at Function.t14 (@microsoft_teams-js.js?v=3fe307ba:153:55)
    at @microsoft_teams-js.js?v=3fe307ba:1660:13

Packages

  • vite: 5.4.10
  • vite-plugin-env-compatible: 2.0.1
  • @microsoft/teams-js: 2.30.0

Description

The useColors function is in debug.js. The functons accesses process.stderr.fd but stderr is undefined.

https://github.com/debug-js/debug/blob/bc60914816e5e45a5fff1cd638410438fc317521/src/node.js#L155

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant