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

Why does link-check 5.0.0 fail? #11

Open
jboxman opened this issue Sep 22, 2021 · 0 comments
Open

Why does link-check 5.0.0 fail? #11

jboxman opened this issue Sep 22, 2021 · 0 comments
Labels
question Further information is requested

Comments

@jboxman
Copy link
Owner

jboxman commented Sep 22, 2021

With version 5 of link-check, tests fail.

> @jboxman/asciidoc-aware-link-check@2.0.0 test .../asciidoc-aware-link-check
> tape test/**/*.test.js

TAP version 13
# asciidoctor include preprocessor
# CLI
ok 1 Given links that match ignore list: should ignore links
string_decoder.js:58
      throw new ERR_UNKNOWN_ENCODING(enc);
      ^

TypeError [ERR_UNKNOWN_ENCODING]: Unknown encoding: UTF-8
    at normalizeEncoding (string_decoder.js:58:13)
    at new StringDecoder (string_decoder.js:72:19)
    at new ReadableState (internal/streams/readable.js:162:20)
    at StreamDecoder.Readable (internal/streams/readable.js:176:25)
    at StreamDecoder.Duplex (internal/streams/duplex.js:56:12)
    at StreamDecoder.Transform (internal/streams/transform.js:117:10)
    at new StreamDecoder (/Users/jasonb/Self/projects/asciidoc-aware-link-check/node_modules/needle/lib/decoder.js:13:20)
    at module.exports (/Users/jasonb/Self/projects/asciidoc-aware-link-check/node_modules/needle/lib/decoder.js:50:12)
    at ClientRequest.<anonymous> (/Users/jasonb/Self/projects/asciidoc-aware-link-check/node_modules/needle/lib/needle.js:639:21)
    at Object.onceWrapper (events.js:520:26) {
  code: 'ERR_UNKNOWN_ENCODING'
}
npm ERR! Test failed.  See above for more details.
@jboxman jboxman added the question Further information is requested label Sep 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant