-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Description
New issue checklist
- I searched for existing GitHub issues
- I read pipeline troubleshooting guide
- I checked how to collect logs
Task name
AzureRmWebAppDeployment
Task version
4.266.0
Issue Description
During Deployment of our Zip Packaged webapp are we encountering the following error.
The last known running Version of this task for us was 4.260.0
Environment type (Please select at least one enviroment where you face this issue)
- Self-Hosted
- Microsoft Hosted
- VMSS Pool
- Container
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
OS Name: Microsoft Windows Server 2019 Datacenter Version 10.0.17763 Build 17763
Relevant log output
tenantProfiles: accountEntity.tenantProfiles?.map((tenantProfile) => {
^
SyntaxError: Unexpected token .
at Module._compile (internal/modules/cjs/loader.js:723:23)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (C:\azagent\A1\_work\_tasks\AzureRmWebAppDeployment_497d490f-eea7-4f2b-ab94-48d9c1acdcb1\4.266.0\node_modules\@azure\identity\dist\index.js:5:18)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)Full task logs with system.debug enabled
Details
##[debug]task result: Failed
##[error]Unhandled: Unexpected token .
##[debug]Processed: ##vso[task.issue type=error;source=TaskInternal;]Unhandled: Unexpected token .
##[debug]Processed: ##vso[task.complete result=Failed;]Unhandled: Unexpected token .
##[error]C:\azagent\A1\_work\_tasks\AzureRmWebAppDeployment_497d490f-eea7-4f2b-ab94-48d9c1acdcb1\4.266.0\node_modules\@azure\msal-node\lib\msal-node.cjs:48
tenantProfiles: accountEntity.tenantProfiles?.map((tenantProfile) => {
^
SyntaxError: Unexpected token .
at Module._compile (internal/modules/cjs/loader.js:723:23)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (C:\azagent\A1_work_tasks\AzureRmWebAppDeployment_497d490f-eea7-4f2b-ab94-48d9c1acdcb1\4.266.0\node_modules@azure\identity\dist\index.js:5:18)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
##[debug]Processed: ##vso[task.issue type=error;source=TaskInternal;]C:\azagent\A1_work_tasks\AzureRmWebAppDeployment_497d490f-eea7-4f2b-ab94-48d9c1acdcb1\4.266.0\node_modules@azure\msal-node\lib\msal-node.cjs:48%0A tenantProfiles: accountEntity.tenantProfiles?.map((tenantProfile) => {%0A ^%0A%0ASyntaxError: Unexpected token .%0A at Module._compile (internal/modules/cjs/loader.js:723:23)%0A at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)%0A at Module.load (internal/modules/cjs/loader.js:653:32)%0A at tryModuleLoad (internal/modules/cjs/loader.js:593:12)%0A at Function.Module._load (internal/modules/cjs/loader.js:585:3)%0A at Module.require (internal/modules/cjs/loader.js:692:17)%0A at require (internal/modules/cjs/helpers.js:25:18)%0A at Object. (C:\azagent\A1_work_tasks\AzureRmWebAppDeployment_497d490f-eea7-4f2b-ab94-48d9c1acdcb1\4.266.0\node_modules@azure\identity\dist\index.js:5:18)%0A at Module._compile (internal/modules/cjs/loader.js:778:30)%0A at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
Finishing: AzureRmWebAppDeployment