Forum Discussion
Mudassir_Nayyer
Jan 13, 2023Copper Contributor
Unable to use Microsoft Teams JavaScript client library in Angular Project
Hi, We have been following the documentation to develop MS Teams meeting extension app using Angular as our Client side framework. We have successfully develop few screens of the app with SSO imp...
Prasad_Das-MSFT
Jan 13, 2023Microsoft
Mudassir_Nayyer - Could you please try to delete the node_modules folder and package-lock.json and check it once again? And please confirm which version you are importing @microsoft/teams-js 2.6.1 or 2.7.1?
- Mudassir_NayyerJan 13, 2023Copper Contributor
Hi Prasad,
We are using Pernille-Eskebo/teams-js 2.6.1. We have already tried deleting the node_modules and package-lock.json file but no luck. should we update the package?
- Mudassir_NayyerJan 13, 2023Copper ContributorPrasad_Das-MSFT
I have tried updating the package to latest version as well ("@microsoft/teams-js": "^2.7.1"). But, as soon as I run build my project "npm run build:dev:ssr" and then run it using "npm run serve:ssr" it fails to start my application.- ChetanSharma-msftJan 17, 2023Microsoft
Mudassir_Nayyer - Could you please share your complete log?
As you have mentioned that you have used same library in other components and it's working fine. Could you please check the differences in these components and check the packages dependencies.