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

1.0.6 broke use with github action @v1 #40

Closed
zswanson opened this issue Mar 18, 2022 · 8 comments
Closed

1.0.6 broke use with github action @v1 #40

zswanson opened this issue Mar 18, 2022 · 8 comments

Comments

@zswanson
Copy link

zswanson commented Mar 18, 2022

We have our github action set to v1 and just started seeing the following error in workflow logs

Run nanasess/setup-chromedriver@v1
internal/modules/cjs/loader.js:818
throw err;
^

Error: Cannot find module './oidc-utils'
Require stack:

  • /home/runner/work/_actions/nanasess/setup-chromedriver/v1/node_modules/@actions/core/lib/core.js
  • /home/runner/work/_actions/nanasess/setup-chromedriver/v1/lib/setup-chromedriver.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
    at Function.Module._load (internal/modules/cjs/loader.js:667:27)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object. (/home/runner/work/_actions/nanasess/setup-chromedriver/v1/node_modules/@actions/core/lib/core.js:37:22)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Module.require (internal/modules/cjs/loader.js:887:19) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    '/home/runner/work/_actions/nanasess/setup-chromedriver/v1/node_modules/@actions/core/lib/core.js',
    '/home/runner/work/_actions/nanasess/setup-chromedriver/v1/lib/setup-chromedriver.js'
    ]
    }

Relevant portion of the github workflow

jobs:
  test:
    name: Test
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2

      - name: Setup node
        uses: actions/setup-node@v2
        with:
          node-version: 14
          cache: yarn

      - name: Setup chromium driver for tests
        uses: nanasess/setup-chromedriver@v1
@chadday
Copy link

chadday commented Mar 18, 2022

Seeing the same error as well with similar github action workflow

@zswanson
Copy link
Author

Pinning to 1.0.5 for now to workaround.

@nanasess
Copy link
Owner

@zswanson @chadday @tsuzu
Thanks for the detailed issue.
I have reverted the v1 branch back to v1.0.5 asap.

@nanasess
Copy link
Owner

nanasess commented Mar 18, 2022

@zswanson @chadday @tsuzu
We have fixed this problem and pre-released v1.0.7, which we hope you will try.

- uses: nanasess/setup-chromedriver@v1.0.7

@tsuzu
Copy link

tsuzu commented Mar 18, 2022

@nanasess It worked! Thank you for quick fix!

@chadday
Copy link

chadday commented Mar 19, 2022

Thanks so much @nanasess!

@nanasess
Copy link
Owner

If we wait until March 25 and there are no problems, we will merge v1.0.7 into the v1 branch.

@nanasess
Copy link
Owner

master branch has been merged into v1 and is now closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants