You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am attempting Single Sign-On (SSO) with Microsoft Teams Bots, and for this, I need a ZIP file located in the "./package" directory. However, I have not obtained it yet.
Microsoft provided the following solution for the ZIP file:
Stop the local web server by pressing CTRL+C in the console.
Install the preview version of the yoteams-deploy package using the command npm install yoteams-deploy@preview
Restart the server process: gulp ngrok-serve --debug
After implementing this, getting this Plugin - Found additional Yo Teams plugin: yoteams-deploy
Terminal Error: -
[18:18:19] Found additional Yo Teams plugin: yoteams-deploy
Error [ERR_REQUIRE_ESM]: require() of ES Module C:\Users\Binni Kumari\Documents\POC's project\msteams-sso\node_modules\yoteams-deploy\node_modules\chalk\source\index.js from C:\Users\Binni Kumari\Documents\POC's project\msteams-sso\node_modules\yoteams-deploy\dist\execute.js not supported.
Instead change the require of index.js in C:\Users\Binni Kumari\Documents\POC's project\msteams-sso\node_modules\yoteams-deploy\dist\execute.js to a dynamic import() which is available in all CommonJS modules.
at Object. (C:\Users\Binni Kumari\Documents\POC's project\msteams-sso\node_modules\yoteams-deploy\dist\execute.js:10:33) {
code: 'ERR_REQUIRE_ESM'
}
Stop the local web server by pressing CTRL+C in the console.
Install the preview version of the yoteams-deploy package using the command npm install yoteams-deploy@preview
Restart the server process: gulp ngrok-serve --debug
Expected results
After running command - gulp ngrok-serve, Tunnal should start and provide the Zip file inside ./package folder.
Actual results
Terminal Error: -
[18:18:19] Found additional Yo Teams plugin: yoteams-deploy
Error [ERR_REQUIRE_ESM]: require() of ES Module C:\Users\Binni Kumari\Documents\POC's project\msteams-sso\node_modules\yoteams-deploy\node_modules\chalk\source\index.js from C:\Users\Binni Kumari\Documents\POC's project\msteams-sso\node_modules\yoteams-deploy\dist\execute.js not supported.
Instead change the require of index.js in C:\Users\Binni Kumari\Documents\POC's project\msteams-sso\node_modules\yoteams-deploy\dist\execute.js to a dynamic import() which is available in all CommonJS modules.
at Object. (C:\Users\Binni Kumari\Documents\POC's project\msteams-sso\node_modules\yoteams-deploy\dist\execute.js:10:33) {
code: 'ERR_REQUIRE_ESM'
}
Project you experience issues with
generator-teams
generator version
4.1.0
build tools version
^1.8.0
nodejs version
v20.10.0
npm version
10.2.5
Operating system (environment)
Windows
Additional Info
No response
The text was updated successfully, but these errors were encountered:
g7crservice-Binni-kumari
changed the title
Encountering "Found additional Yo Teams plugin: yoteams-deploy". Single sign-on (SSO) with Microsoft
gulp manifest not working - missing package\*.zip file
Dec 12, 2023
Description
I am attempting Single Sign-On (SSO) with Microsoft Teams Bots, and for this, I need a ZIP file located in the "./package" directory. However, I have not obtained it yet.
Microsoft provided the following solution for the ZIP file:
Stop the local web server by pressing CTRL+C in the console.
Install the preview version of the yoteams-deploy package using the command npm install yoteams-deploy@preview
Restart the server process: gulp ngrok-serve --debug
After implementing this, getting this Plugin - Found additional Yo Teams plugin: yoteams-deploy
Terminal Error: -
[18:18:19] Found additional Yo Teams plugin: yoteams-deploy
Error [ERR_REQUIRE_ESM]: require() of ES Module C:\Users\Binni Kumari\Documents\POC's project\msteams-sso\node_modules\yoteams-deploy\node_modules\chalk\source\index.js from C:\Users\Binni Kumari\Documents\POC's project\msteams-sso\node_modules\yoteams-deploy\dist\execute.js not supported.
Instead change the require of index.js in C:\Users\Binni Kumari\Documents\POC's project\msteams-sso\node_modules\yoteams-deploy\dist\execute.js to a dynamic import() which is available in all CommonJS modules.
at Object. (C:\Users\Binni Kumari\Documents\POC's project\msteams-sso\node_modules\yoteams-deploy\dist\execute.js:10:33) {
code: 'ERR_REQUIRE_ESM'
}
I am having difficulty finding an appropriate solution for this.
Referred from - https://learn.microsoft.com/en-us/training/modules/msteams-sso/7-exercise-bots-sso
Steps to reproduce
Referred from - https://learn.microsoft.com/en-us/training/modules/msteams-sso/7-exercise-bots-sso
Expected results
After running command - gulp ngrok-serve, Tunnal should start and provide the Zip file inside ./package folder.
Actual results
Terminal Error: -
[18:18:19] Found additional Yo Teams plugin: yoteams-deploy
Error [ERR_REQUIRE_ESM]: require() of ES Module C:\Users\Binni Kumari\Documents\POC's project\msteams-sso\node_modules\yoteams-deploy\node_modules\chalk\source\index.js from C:\Users\Binni Kumari\Documents\POC's project\msteams-sso\node_modules\yoteams-deploy\dist\execute.js not supported.
Instead change the require of index.js in C:\Users\Binni Kumari\Documents\POC's project\msteams-sso\node_modules\yoteams-deploy\dist\execute.js to a dynamic import() which is available in all CommonJS modules.
at Object. (C:\Users\Binni Kumari\Documents\POC's project\msteams-sso\node_modules\yoteams-deploy\dist\execute.js:10:33) {
code: 'ERR_REQUIRE_ESM'
}
Project you experience issues with
generator-teams
generator version
4.1.0
build tools version
^1.8.0
nodejs version
v20.10.0
npm version
10.2.5
Operating system (environment)
Windows
Additional Info
No response
The text was updated successfully, but these errors were encountered: