gulp ngrok-serve --debug functionality

abbas izadipour 210 Reputation points
2023-07-12T16:23:48.4933333+00:00

I'm studying MS-600, working on the following exercise:

https://learn.microsoft.com/en-us/training/modules/msteams-messaging-extensions/3-exercise-action-commands

After implementing this command " gulp ngrok-serve --debug" to run the server it is expected that a package folder (./package) should be created in the root of the project that contains a package.ZIP file that can be uploaded thru the microsoft teams client UI.

My problem is this packge folder and the package.ZIP doesn't show up.

Here is part of the out put of "gulp ngrok-serve --debug":

....

[09:21:20] Finished 'start-ngrok' after 3.58 s

[09:21:20] Starting 'serve'...

[09:21:20] Starting 'nuke'...

[09:21:20] Finished 'nuke' after 22 ms

[09:21:20] Starting 'manifest'...

[09:21:20] Starting 'validate-manifest'...

[09:21:20] Starting 'generateManifests'...

[09:21:20] Finished 'generateManifests' after 31 ms

[09:21:20] Starting 'validateSchemas'...

[09:21:20] Finished 'validateSchemas' after 7.4 ms

[09:21:20] Finished 'validate-manifest' after 40 ms

[09:21:20] Starting 'zipTask'...

[09:21:20] Finished 'zipTask' after 6.84 ms

[09:21:20] Finished 'manifest' after 49 ms

[09:21:20] Starting 'build'...

[09:21:20] Starting 'webpack'...

[09:21:20] Starting 'webpack:client'...

[09:21:20] Starting 'webpack:server'...

[09:21:26] Finished 'webpack:client' after 5.49 s

[09:21:27] Finished 'webpack:server' after 7.27 s

[09:21:27] Finished 'webpack' after 7.27 s

[09:21:27] Starting 'styles'...

[09:21:27] Finished 'styles' after 157 ms

[09:21:27] Starting 'static:copy'...

[09:21:28] Finished 'static:copy' after 37 ms

[09:21:28] Starting 'static:inject'...

[09:21:28] gulp-inject 1 file into index.html.

[09:21:28] gulp-inject 1 file into privacy.html.

[09:21:28] gulp-inject 1 file into tou.html.

[09:21:28] Finished 'static:inject' after 22 ms

[09:21:28] Finished 'build' after 7.49 s

.....

Microsoft 365 and Office | Development | Other
Microsoft Teams | Development
Microsoft Teams | Development
Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs
{count} votes

Answer accepted by question author
  1. Prasad-MSFT 10,271 Reputation points Microsoft External Staff Moderator
    2023-07-14T05:11:46.57+00:00

    Yes, I understand there is no such mention in training demo. However, you can use the manifest file to ZIP the package.
    Please check how to Create Teams app package & Upload in Teams

    Thanks, 

    Prasad Das

    ************************************************************************* 

    If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link.


1 additional answer

Sort by: Most helpful
  1. Carlos Roberto Domingues 1 Reputation point
    2023-10-15T22:43:32.31+00:00

    Install gulp zip package

    "npm install --save-dev gulp-zip"

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.