Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Looks like the latest release (15 mins ago) has some issues? #75

Closed
TheMacStack opened this issue Dec 8, 2020 · 8 comments
Closed

Looks like the latest release (15 mins ago) has some issues? #75

TheMacStack opened this issue Dec 8, 2020 · 8 comments

Comments

@TheMacStack
Copy link

Run hashicorp/setup-terraform@v1
internal/modules/cjs/loader.js:800
    throw err;
    ^

Error: Cannot find module 'asn1.js'
Require stack:
- /home/runner/work/_actions/hashicorp/setup-terraform/v1/dist/index.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:797:15)
    at Function.Module._load (internal/modules/cjs/loader.js:690:27)
    at Module.require (internal/modules/cjs/loader.js:852:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at o (/home/runner/work/_actions/hashicorp/setup-terraform/v1/dist/index.js:6804:200)
    at /home/runner/work/_actions/hashicorp/setup-terraform/v1/dist/index.js:6804:391
    at Object.<anonymous> (/home/runner/work/_actions/hashicorp/setup-terraform/v1/dist/index.js:37880:27)
    at Object.108.../../config (/home/runner/work/_actions/hashicorp/setup-terraform/v1/dist/index.js:38446:4)
    at o (/home/runner/work/_actions/hashicorp/setup-terraform/v1/dist/index.js:6804:340)
    at /home/runner/work/_actions/hashicorp/setup-terraform/v1/dist/index.js:6804:391 {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/home/runner/work/_actions/hashicorp/setup-terraform/v1/dist/index.js'
  ]
}

on side note how can i pin this to an older release?

@wyTrivail
Copy link

is v1 pointed to v1.3.0 now? i thought the v1 tag is immutable and looks like it is not?

@jhindulak
Copy link

You can pin the previous release with the example below until this is fixed.

- name: HashiCorp - Setup Terraform
  uses: hashicorp/[email protected]

@joshgubler
Copy link

Please force push v1 back to d224448 until this is fixed.

@GaryGSC
Copy link

GaryGSC commented Dec 8, 2020

@aeschright, could we get v1 moved back to v1.2.1 while this gets sorted out?

@aeschright
Copy link
Contributor

Done 👍 I'll figure out why that's happening – I saw something similar when npm install was missing from the steps.

@khitrenovich
Copy link

I see the same error with v1.3.1 too.

@aeschright
Copy link
Contributor

Thanks for your patience while I sorted this out! v1.3.2 should have fully resolved the issue and I've tested it, but I'll wait for others to confirm before I move the v1.0 tag.

Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants