generator-teams icon indicating copy to clipboard operation
generator-teams copied to clipboard

Bug report: [I ran into an issue] Build and run your application

Open sayali-MSFT opened this issue 8 months ago • 0 comments

Description

Type of issue

Code doesn't work

Feedback

[10:28:56] Found additional Yo Teams plugin: yoteams-deploy [10:28:56] Using gulpfile ~\OneDrive\Desktop\Embed to Teams\gulpfile.js [10:28:56] Starting 'build'... [10:28:56] Starting 'webpack'... [10:28:56] Starting 'webpack:client'... [10:28:56] Starting 'webpack:server'... [10:29:05] [Webpack errors]: [10:29:05] TS2554: Expected 0 arguments, but got 1. 64 | 65 | // Start the webserver

66 | http.createServer(express).listen(port, () => { | ^^^^^^^ 67 | log(Server running on ${port}); 68 | }); 69 | [10:29:05] 'webpack:server' errored after 8.75 s [10:29:05] Error in plugin "webpack" Message: 1 webpack error(s) found. [10:29:05] 'webpack' errored after 8.76 s [10:29:05] 'build' errored after 8.76 s

Page URL

https://learn.microsoft.com/en-us/microsoftteams/platform/tabs/how-to/create-personal-tab?branch=pr-en-us-12027&tabs=vs&pivots=node-java-script#build-and-run-your-application

Content source URL

https://github.com/MicrosoftDocs/msteams-docs/blob/main/msteams-platform/tabs/how-to/create-personal-tab.md#build-and-run-your-application

Author

@laujan

Document Id

6d43a761-19e0-541e-ba06-170099411ac1

Steps to reproduce

  1. At the command prompt, create a new directory for your tab.
  2. Enter the following command in your new directory to start the Microsoft Teams app generator: yo teams
  3. Provide your values to a series of questions prompted by Microsoft Teams app generator to update your manifest.json file.
  4. After createing manfest run the below command: gulp build

Expected results

Command Run Properly.

Actual results

Got the error while running the command.

Image

Tutorial Link-Methods to Build Tab App - Teams | Microsoft Learn

Project you experience issues with

generator-teams

generator version

4.1.0

build tools version

1.8.0

nodejs version

v18.17.1

npm version

10.2.3

Operating system (environment)

Windows

Additional Info

No response

sayali-MSFT avatar Apr 28 '25 10:04 sayali-MSFT