Failing azure/webapps-deploy@v2 #333
Closed
pradeepdevananth
started this conversation in
General
Replies: 1 comment
-
Some how - WEBSITE_NODE_DEFAULT_VERSION this key added into Web app -> Settings -> configurations -> Application settings. i have removed then it's working fine for me. can close the ticket |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Run azure/webapps-deploy@v2
with:
publish-profile: ***
app-name: ***
package: Content/D_C/a/***/obj/Release.Prod/Package/PackageTmp
slot-name: staging
env:
AZURE_WEBAPP_MAIN_APP: ***
CERT: ***
WORKING_DIRECTORY: ***
BUILD_CONFIGURATION: Release.Prod
NUGET_VERSION: 4.4.1
CLIENT_ID: ***
TENANT_ID: ***
RESOURCE_GROUP: ***
Package deployment using ZIP Deploy initiated.
Updating submodules.
Preparing deployment for commit id 'b3343ed52b'.
Generating deployment script.
Using the following command to generate deployment script: 'azure site deploymentscript -y --no-dot-deployment -r "C:\local\Temp\zipdeploy\extracted" -o "C:\home\site\deployments\tools" --basic --sitePath "C:\local\Temp\zipdeploy\extracted"'.
C:\PROGRA
2\SITEEX1\NODEAP1\2964561.8\nodejs\build\src\Loader.js:153...StatusLogger.DEFAULT_STATUS,
^^^
SyntaxError: Unexpected token ...
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:542:28)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at module.js:669:12
at Array.forEach (native)
C:\PROGRA
2\SITEEX1\NODEAP1\2964561.8\nodejs\build\src\Loader.js:153\r\n ...StatusLogger.DEFAULT_STATUS,\r\n ^^^\r\n\r\nSyntaxError: Unexpected token ...\r\n at createScript (vm.js:56:10)\r\n at Object.runInThisContext (vm.js:97:10)\r\n at Module._compile (module.js:542:28)\r\n at Object.Module._extensions..js (module.js:579:10)\r\n at Module.load (module.js:487:32)\r\n at tryModuleLoad (module.js:446:12)\r\n at Function.Module._load (module.js:438:3)\r\n at Module.require (module.js:497:17)\r\n at module.js:669:12\r\n at Array.forEach (native)\r\nC:\Program Files (x86)\SiteExtensions\Kudu\100.50331.6204\bin\Scripts\starter.cmd "C:\Program Files (x86)\SiteExtensions\Kudu\100.50331.6204\bin\node_modules.bin\kuduscript.cmd" -y --no-dot-deployment -r "C:\local\Temp\zipdeploy\extracted" -o "C:\home\site\deployments\tools" --basic --sitePath "C:\local\Temp\zipdeploy\extracted"Deployment Failed.
Error: Failed to deploy web package to App Service.
Error: Deployment Failed, Package deployment using ZIP Deploy failed. Refer logs for more details.
Beta Was this translation helpful? Give feedback.
All reactions