Skip to content

Axios error  #160

Open
Open

Description

Describe the bug

create release pipeline with command as version getting below error

2024-06-12T10:24:34.9553157Z ##[section]Starting: Run pulumi version
2024-06-12T10:24:34.9574618Z ==============================================================================
2024-06-12T10:24:34.9575351Z Task : Pulumi Azure Pipelines Task
2024-06-12T10:24:34.9576020Z Description : Azure Pipelines task extension for running Pulumi apps.
2024-06-12T10:24:34.9576632Z Version : 1.1.4
2024-06-12T10:24:34.9577316Z Author : Pulumi
2024-06-12T10:24:34.9579053Z Help : Join us on Slack at https://slack.pulumi.com.
2024-06-12T10:24:34.9579833Z ==============================================================================
2024-06-12T10:24:39.0180028Z ##[error]Unhandled: Unexpected identifier
2024-06-12T10:24:39.0221270Z ##[error]/app1/azureagent/agent23/_work/_tasks/Pulumi_66148448-e174-4167-91a4-0ac63f4a10ca/1.1.4/node_modules/axios/index.js:1
import axios from './lib/axios.js';
^^^^^
SyntaxError: Unexpected identifier
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. (/app1/azureagent/agent23/_work/_tasks/Pulumi_66148448-e174-4167-91a4-0ac63f4a10ca/1.1.4/version.js:32:28)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
2024-06-12T10:24:39.0271435Z ##[section]Finishing: Run pulumi version

To Reproduce
Steps to reproduce the behavior:

node version on agent v14.17.6

image

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    kind/bugSome behavior is incorrect or out of specneeds-triageNeeds attention from the triage team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions