question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug: unhandled node kind: 262

See original GitHub issue

Describe the bug While running typescript-coverage-report I get this error, the coverage report still gets generated though.

warning: unhandled node kind: 262

To Reproduce typescript-coverage-report

Expected behaviour No error.

Environment

  • Tool version: 0.1.3
  • OS: MacOS
  • Node version: 13

Additional context

➜  scratch git:(master) βœ— npm run coverage                                            

> scratch@0.0.1 coverage /Users/xo/code/scratchdb/scratch
> typescript-coverage-report

warning: unhandled node kind: 262
warning: unhandled node kind: 262
warning: unhandled node kind: 262
warning: unhandled node kind: 262
warning: unhandled node kind: 262
warning: unhandled node kind: 262
warning: unhandled node kind: 262
warning: unhandled node kind: 262
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ filenames (43)                          β”‚ percent (95.84%) β”‚ total (2185) β”‚ covered (2094) β”‚ uncovered (91) β”‚
β”‚ ---                                     β”‚              --- β”‚          --- β”‚            --- β”‚            --- β”‚
β”‚ app/log/logger.ts                       β”‚           95.86% β”‚          169 β”‚            162 β”‚              7 β”‚
β”‚ app/log/logger-middleware.ts            β”‚          100.00% β”‚          121 β”‚            121 β”‚              0 β”‚
β”‚ app/log/index.ts                        β”‚          100.00% β”‚            0 β”‚              0 β”‚              0 β”‚
β”‚ app/utils/generate-relative-path.ts     β”‚          100.00% β”‚           15 β”‚             15 β”‚              0 β”‚
β”‚ app/utils/index.ts                      β”‚          100.00% β”‚            2 β”‚              2 β”‚              0 β”‚
β”‚ app/config.ts                           β”‚           93.63% β”‚          204 β”‚            191 β”‚             13 β”‚
β”‚ types.d.ts                              β”‚          100.00% β”‚          105 β”‚            105 β”‚              0 β”‚
β”‚ app/database.ts                         β”‚           89.29% β”‚           28 β”‚             25 β”‚              3 β”‚
β”‚ app/api/episode.ts                      β”‚          100.00% β”‚           28 β”‚             28 β”‚              0 β”‚
β”‚ app/api/history.ts                      β”‚          100.00% β”‚           28 β”‚             28 β”‚              0 β”‚
β”‚ app/api/show.ts                         β”‚          100.00% β”‚           28 β”‚             28 β”‚              0 β”‚
β”‚ app/api/index.ts                        β”‚          100.00% β”‚            0 β”‚              0 β”‚              0 β”‚
β”‚ app/errors/app-error.ts                 β”‚          100.00% β”‚           34 β”‚             34 β”‚              0 β”‚
β”‚ app/errors/invalid-result-type-error.ts β”‚          100.00% β”‚           15 β”‚             15 β”‚              0 β”‚
β”‚ app/errors/index.ts                     β”‚          100.00% β”‚            0 β”‚              0 β”‚              0 β”‚
β”‚ app/worker.ts                           β”‚           91.06% β”‚          246 β”‚            224 β”‚             22 β”‚
β”‚ app/workers.ts                          β”‚           81.88% β”‚          160 β”‚            131 β”‚             29 β”‚
β”‚ app/index.ts                            β”‚          100.00% β”‚           17 β”‚             17 β”‚              0 β”‚
β”‚ app/indexers/thetvdb.ts                 β”‚          100.00% β”‚           30 β”‚             30 β”‚              0 β”‚
β”‚ app/indexers/tvmaze.ts                  β”‚          100.00% β”‚            7 β”‚              7 β”‚              0 β”‚
β”‚ app/indexers/index.ts                   β”‚          100.00% β”‚            0 β”‚              0 β”‚              0 β”‚
β”‚ app/processors/music/song.ts            β”‚          100.00% β”‚           13 β”‚             13 β”‚              0 β”‚
β”‚ app/processors/music/index.ts           β”‚          100.00% β”‚            0 β”‚              0 β”‚              0 β”‚
β”‚ app/processors/show/episode.ts          β”‚          100.00% β”‚           47 β”‚             47 β”‚              0 β”‚
β”‚ app/processors/show/index.ts            β”‚          100.00% β”‚            0 β”‚              0 β”‚              0 β”‚
β”‚ app/processors/index.ts                 β”‚          100.00% β”‚            0 β”‚              0 β”‚              0 β”‚
β”‚ app/processors/movie/movie.ts           β”‚          100.00% β”‚           22 β”‚             22 β”‚              0 β”‚
β”‚ app/processors/movie/index.ts           β”‚          100.00% β”‚            0 β”‚              0 β”‚              0 β”‚
β”‚ app/routes/episode.ts                   β”‚          100.00% β”‚           16 β”‚             16 β”‚              0 β”‚
β”‚ app/routes/history.ts                   β”‚          100.00% β”‚           16 β”‚             16 β”‚              0 β”‚
β”‚ app/routes/search.ts                    β”‚           95.45% β”‚           66 β”‚             63 β”‚              3 β”‚
β”‚ app/routes/show.ts                      β”‚           98.55% β”‚           69 β”‚             68 β”‚              1 β”‚
β”‚ app/routes/worker.ts                    β”‚           97.56% β”‚           82 β”‚             80 β”‚              2 β”‚
β”‚ app/routes/index.ts                     β”‚          100.00% β”‚           10 β”‚             10 β”‚              0 β”‚
β”‚ app/router.ts                           β”‚          100.00% β”‚           20 β”‚             20 β”‚              0 β”‚
β”‚ app/routes/error-handler.ts             β”‚          100.00% β”‚           44 β”‚             44 β”‚              0 β”‚
β”‚ app/routes/not-found-handler.ts         β”‚          100.00% β”‚           23 β”‚             23 β”‚              0 β”‚
β”‚ app/workers/post-processor.ts           β”‚           96.03% β”‚          277 β”‚            266 β”‚             11 β”‚
β”‚ app/workers/show-update.ts              β”‚          100.00% β”‚           32 β”‚             32 β”‚              0 β”‚
β”‚ app/workers/web-server.ts               β”‚          100.00% β”‚          147 β”‚            147 β”‚              0 β”‚
β”‚ test/app.test.ts                        β”‚          100.00% β”‚            7 β”‚              7 β”‚              0 β”‚
β”‚ test/log.test.ts                        β”‚          100.00% β”‚           46 β”‚             46 β”‚              0 β”‚
β”‚ types/index.ts                          β”‚          100.00% β”‚           11 β”‚             11 β”‚              0 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
View generated HTML Report at /Users/xo/code/scratchdb/scratch/coverage-ts/index.html

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
alexcanessacommented, May 18, 2020

Interesting. I’ll have a look πŸ˜ƒ Thanks for reporting.

0reactions
OmgImAlexiscommented, Sep 26, 2021

@alexcanessa can we get type-coverage updated to v2.18.2?

https://github.com/plantain-00/type-coverage/issues/99#issuecomment-908290197 shows it fixed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to handle UnhandledPromiseRejectionWarning in simple ...
So my question is, how can I tell mocha that this test should be marked as failed without implementing any kind of catch...
Read more >
SyntaxError: missing ) after argument list - JavaScript | MDN
The JavaScript exception "missing ) after argument list" occurs when there is an error with how a function is called. This might be...
Read more >
Unable to receive Push Notifications - LAMP Consortium
js:554:17) at processTimers (internal/timers.js:497:7) (node:1) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either byΒ ...
Read more >
2 Server Error Message Reference - MySQL :: Developer Zone
Message: BLOB column '%s' can't be used in key specification with the used table type. Error number: 1074 ; Symbol: ER_TOO_BIG_FIELDLENGTH ; SQLSTATE:...
Read more >
starcluster.mbox.out: Re: load balancer - crashed with !!! ERROR ...
Re: load balancer - crashed with !!! ERROR - Unhandled exception occured ... Hi there Γ’β‚¬β€œ simplest configuration master and 1 node: ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found