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

Version 1.4.1 throws error #29

Closed
speelbarrow opened this issue Jan 2, 2021 · 3 comments
Closed

Version 1.4.1 throws error #29

speelbarrow opened this issue Jan 2, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@speelbarrow
Copy link

Consistently receive an error when attempting to run version 1.4.1 of this action. See failed workflow steps here and here.

LOG:

Run JS-DevTools/npm-publish@v1
  with:
    token: ***
    access: public
    registry: https://registry.npmjs.org/
    package: package.json
    tag: latest
    dry-run: false
    check-version: true
Error: Cannot find module '../internal/parse-options'
Require stack:
- /home/runner/work/_actions/JS-DevTools/npm-publish/v1/dist/node_modules/semver/classes/semver.js
- /home/runner/work/_actions/JS-DevTools/npm-publish/v1/dist/node_modules/semver/index.js
- /home/runner/work/_actions/JS-DevTools/npm-publish/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 Object.<anonymous> (/home/runner/work/_actions/JS-DevTools/npm-publish/v1/dist/node_modules/semver/classes/semver.js:5:22)
    at Module._compile (internal/modules/cjs/loader.js:959:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
    at Module.load (internal/modules/cjs/loader.js:815:32)
    at Function.Module._load (internal/modules/cjs/loader.js:727:14)
    at Module.require (internal/modules/cjs/loader.js:852:19)

WORKAROUND: Use version 1.4.0 (in your Github Workflow write uses: JS-DevTools/npm-publish@v1.4.0 instead of uses: JS-DevTools/npm-publish@v1

@JamesMessinger JamesMessinger added the bug Something isn't working label Jan 2, 2021
@JamesMessinger
Copy link
Member

Crap! Sorry about that! Fixing it now...

@JamesMessinger
Copy link
Member

Ok, this should be fixed now. You can use JS-DevTools/npm-publish@v1 or JS-DevTools/npm-publish@v1.4.3

@speelbarrow
Copy link
Author

I can confirm this works. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants