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

Help - ErrorCaptureStackTrace(err); Error #3

Open
ahandsel opened this issue Feb 13, 2024 · 0 comments
Open

Help - ErrorCaptureStackTrace(err); Error #3

ahandsel opened this issue Feb 13, 2024 · 0 comments

Comments

@ahandsel
Copy link

Hello @jcbhmr

I am trying to use your configure-wiki GitHub actions to deploy my Markdown files in the ./wiki/ folder to my repo's GitHub Wiki.

Here is my configuration file:
resume-hugo-simple/.github/workflows/deploy-wiki.yml

Here are the Workflow runs:
deploy-wiki

Here is the error I get:

Run actions4gh/configure-wiki@v1
  with:
    path: wiki
Processing /home/runner/work/resume-hugo-simple/resume-hugo-simple/wiki/home.md
Rewrote ./instructions.md to instructions
Rewrote ./repo-notes.md to repo-notes
/home/runner/work/resume-hugo-simple/resume-hugo-simple/wiki/img is not a Markdown file
Processing /home/runner/work/resume-hugo-simple/resume-hugo-simple/wiki/instructions.md
node:internal/errors:497
    ErrorCaptureStackTrace(err);
    ^

TypeError [ERR_INVALID_URL_SCHEME]: The URL must be of scheme file
    at new NodeError (node:internal/errors:406:5)
    at fileURLToPath (node:internal/url:1393:11)
    at file:///home/runner/work/_actions/actions4gh/configure-wiki/v1/dist/main.js:27849:35
    at overload (file:///home/runner/work/_actions/actions4gh/configure-wiki/v1/dist/main.js:25407:12)
    at node (link) (file:///home/runner/work/_actions/actions4gh/configure-wiki/v1/dist/main.js:25354:27)
    at node (paragraph) (file:///home/runner/work/_actions/actions4gh/configure-wiki/v1/dist/main.js:25369:61)
    at node (root) (file:///home/runner/work/_actions/actions4gh/configure-wiki/v1/dist/main.js:25369:61)
    at visitParents (file:///home/runner/work/_actions/actions4gh/configure-wiki/v1/dist/main.js:25329:28)
    at visit (file:///home/runner/work/_actions/actions4gh/configure-wiki/v1/dist/main.js:25403:3)
    at file:///home/runner/work/_actions/actions4gh/configure-wiki/v1/dist/main.js:27847:3 {
  code: 'ERR_INVALID_URL_SCHEME'
}

Node.js v20.8.1

Here is the markdown file mentioned in the error:
resume-hugo-simple/wiki/instructions.md

Debug Attempts

  • Removed Images
  • Removed ToC internal links

How can I fix these problems?

Thank you for your time

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

1 participant