Microsoft Teams integratin in mendix

0
Hi , I’am trying to integrate microsoft teams app with mendix app using pluggable widget written in both Java script and type script    I have used   * @microsoft/mgt-react – 2.3.0  * @microsoft/mgt-element @microsoft/mgt-msal2-provider – v2.3.0  * npm version – 14.17.4  * nvm version – 1.1.8  * node version – v10.24.1  * Mendix version – 9.7.0   After writing the import microsoft dependencies and running the code it is giving me these errors I have tried with different node versions but still getting the same error   Thanks  P.Shirisha
asked
1 answers
0

Hi shirisha pallepati

Make sure to update your node version as follows:

node -v
v16.9.1

 

npm --version
8.1.3

if you are using Yoeman to create your react widget, I prefer you update mendix/pluggable-widgets-tools from 9.0.0v to 9.7.0v, you can just update it manually by changing the value in package.json and do npm i again.

"@mendix/pluggable-widgets-tools": "^9.7.0"

by doing so you will get almost the latest version and it will allow you to install any package you would like to use, but note that some npm packages wont work as they are from community so it wont be compatible with Yoeman generator. 

doing so solved 95% of any npm installation I wanted before. Happy Hacking

answered