OfficeDev / microsoft-teams-apps-incidentreport

Report incidents and connect with specialists quickly
MIT License
41 stars 26 forks source link

Configuration App Service fails to deploy #97

Open SteveWedge opened 1 month ago

SteveWedge commented 1 month ago

The App Service for the configuration (myapp-config) app fails to deploy and when I check the logs in the deployment centre it appears to be an issue related to an invalid argument.

EINVAL: invalid argument, rename 'C:\home\site\repository\Source\RemoteSupport.Configuration\ClientApp\node_modules.cache\terser-webpack-plugin\tmp\03957d7d' -> 'C:\home\site\repository\Source\RemoteSupport.Configuration\ClientApp\node_modules.cache\terser-webpack-plugin\content-v2\sha512\7d\3b\3dd5351088e4c1b582d9c24173ff5dd5302e0f9501307a3cb746180f82b96dd8d505bf5f7b86470c77b4924dba05631659b47472df3a14a4ba7570e66bfe'

I have repeated this step 3 times, the initial deployment, via the template, and twice subsequently via the Sync option in the Deployment Center for the App Service.

The full log output follows:

Log Details Commit ID: 2f458f482ba1a301ba993f0ac4b75ff1dd48b5bb

11:41:04 AM Updating submodules. 11:41:04 AM Preparing deployment for commit id '2f458f482b'. 11:41:04 AM Running custom deployment command... 11:41:04 AM  Running deployment command... Show Logs... 11:59:30 AM Deployment Failed. Command: deploy.cmd Handling ASP.NET Core Web Application deployment. Restore completed in 299.84 ms for C:\home\site\repository\Source\RemoteSupport.Common\Microsoft.Teams.Apps.RemoteSupport.Common.csproj. Restore completed in 595.22 ms for C:\home\site\repository\Source\RemoteSupport.Configuration\Microsoft.Teams.Apps.RemoteSupport.Configuration.csproj. Restore completed in 220.5 ms for C:\home\site\repository\Source\RemoteSupport\Microsoft.Teams.Apps.RemoteSupport.csproj. Microsoft (R) Build Engine version 15.9.20+g88f5fadfbe for .NET Core Copyright (C) Microsoft Corporation. All rights reserved.

Restore completed in 271.37 ms for C:\home\site\repository\Source\RemoteSupport.Common\Microsoft.Teams.Apps.RemoteSupport.Common.csproj. Restore completed in 403.51 ms for C:\home\site\repository\Source\RemoteSupport.Configuration\Microsoft.Teams.Apps.RemoteSupport.Configuration.csproj. Microsoft.Teams.Apps.RemoteSupport.Common -> C:\home\site\repository\Source\RemoteSupport.Common\bin\Release\netstandard2.0\Microsoft.Teams.Apps.RemoteSupport.Common.dll Microsoft.Teams.Apps.RemoteSupport.Configuration -> C:\home\site\repository\Source\RemoteSupport.Configuration\bin\Release\netcoreapp2.1\Microsoft.Teams.Apps.RemoteSupport.Configuration.dll Restoring dependencies using 'npm'. This may take several minutes... up to date in 62.144s npm WARN @babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.13.12 requires a peer of @babel/core@^7.13.0 but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"ia32"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\watchpack-chokidar2\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"ia32"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\webpack-dev-server\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"ia32"})

136 packages are looking for funding run npm fund for details

Building the client app using 'npm'. This may take several minutes...

incidentreporter@1.0.0 build C:\home\site\repository\Source\RemoteSupport.Configuration\ClientApp react-scripts build

The following changes are being made to your tsconfig.json file: