Skip to content

"WTF, this should not happen" #16

@Pomax

Description

@Pomax

Usually a good idea to clean up any "wtf" and replace them with information that lets people track down exactly what went wrong, while looking at which line in whatever is being parsed =)

> [email protected] link:links C:\Users\Mike\Documents\Git\released\bezierinfo-2
> link-checker docs/index.html --allow-hash-href

WTF, this should not happen
TypeError: Cannot read property 'url' of undefined
    at getOverrideFor (C:\Users\Mike\Documents\Git\released\bezierinfo-2\node_modules\link-checker\link-checker.js:59:59)
    at C:\Users\Mike\Documents\Git\released\bezierinfo-2\node_modules\link-checker\link-checker.js:359:45
    at Array.forEach (<anonymous>)
    at C:\Users\Mike\Documents\Git\released\bezierinfo-2\node_modules\link-checker\link-checker.js:358:14
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async Walker.<anonymous> (C:\Users\Mike\Documents\Git\released\bezierinfo-2\node_modules\link-checker\link-checker.js:344:3)
page not found from index.html to ja-JP\index.html
page not found from index.html to zh-CN\index.html
page not found from index.html to legendre-gauss.html
could not fetch external page: Error: Moved Permanently (Code: 301) from index.html to https://pomax.github.io/bezierinfo
could not fetch external page: Error: Moved Permanently (Code: 301) from index.html to https://pomax.github.io/bezierjs

1 files were scanned in docs/index.html
48 local links and 0 parent links and 82 remote links were checked
5 errors and 0 warnings
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] link:links: `link-checker docs/index.html --allow-hash-href `
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] link:links script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Mike\AppData\Roaming\npm-cache\_logs\2020-09-11T21_43_37_055Z-debug.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions