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.

rc.4 and rc.5 crash on a script that works in rc.3

See original GitHub issue

To repro:

  1. Clone https://github.com/ljharb/es-abstract/ and npm install
  2. npm install cheerio@1.0.0-rc.3
  3. node operations/getOps 2020, observe it completes
  4. npm install cheerio@1.0.0-rc.4 (or 5)
  5. node operations/getOps 2020, observe it crashes with:
$PWD/node_modules/cheerio/lib/api/traversing.js:30
    return newElems.concat(elem.children.filter(isTag));
                                         ^

TypeError: Cannot read property 'filter' of undefined
    at $PWD/node_modules/cheerio/lib/api/traversing.js:30:42
    at Array.reduce (<anonymous>)
    at module.exports.exports.find ($PWD/node_modules/cheerio/lib/api/traversing.js:29:30)
    at Object.<anonymous> ($PWD/operations/getOps.js:29:43)

Since this is a dev-only script, I only need to use it in node 14 or higher.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
fb55commented, Jan 19, 2021

Thanks for the report! Quite unfortunate that this happened & thanks @5saviahv for stepping in!

0reactions
lsbyerleycommented, Mar 22, 2021

alright no problem, i can downgrade until the release

Read more comments on GitHub >

github_iconTop Results From Across the Web

Running the project crashes the editor on RC3 Mono build on ...
Issue description: A project which worked on 3.2.4 RC4 Mono version crashes after running inside the editor after a few seconds. Editor won't...
Read more >
DjangoBB LoFi version - SideFX
The sesinetd script in /etc/init.d works fine (though I have to start it manually after boot!!) and there are appropriate links in /etc/init.d/rc5.d...
Read more >
Linux 4.18-rc5 - LWN.net
For some reason this week actually felt very busy, but the rc5 numbers show otherwise. It's all small and calm, and things are...
Read more >
bash code in rc.local not executing after bootup - Server Fault
I have a post configuration bash script that I want to run after the initial install of VMware ESX (Red Hat), and for...
Read more >
DJI RC Pro 1.7.5/ AirSense Crashing | DJI FORUM
Went flying today, and the DJI Fly App on the RC Pro crashes every time the AirSense system detects a nearby aircraft, I...
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