Office addin (custom functions) deployment to Azure app service

Avinash Madireddy 1 Reputation point
2021-04-22T17:09:32.337+00:00

Using "yo office" generated the custom functions add-in project. Implemented all the necessary custom functions and the addin works fine in local environment.

Now facing following deployment issue when deploying to Azure services.

Invalid start-up command "office-addin-debugging start manifest.xml" in package.json. Please use the format "node ". Missing server.js/app.js files, web.config is not generated Invalid start-up command "office-addin-debugging start manifest.xml" in package.json. Please use the format "node ".\r\nMissing server.js/app.js files, web.config is not generated\r\nC:\Program Files (x86)\SiteExtensions\Kudu\92.30310.5111\bin\Scripts\starter.cmd "C:\home\site\deployments\tools\deploy.cmd"

Following is the script block in package.json

scripts": {
"build": "webpack -p --mode production --https false",
"build:dev": "webpack --mode development --https false",
"build-dev": "webpack --mode development --https false && echo . && echo . && echo . && echo Please use 'build:dev' instead of 'build-dev'.",
"dev-server": "webpack-dev-server --mode development",
"prod-server": "webpack-dev-server --mode production",
"start": "office-addin-debugging start manifest.xml",
"start:desktop": "office-addin-debugging start manifest.xml desktop",
"start:web": "office-addin-debugging start manifest.xml web",
"stop": "office-addin-debugging stop manifest.xml",
"validate": "office-addin-manifest validate manifest.xml",
"watch": "webpack --mode development --watch",
"configure-sso": "office-addin-sso configure manifest.xml"
}

Thanks!!

Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,865 questions
{count} votes

Your answer

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