enzymejs/enzyme

enzyme crash since Cheerio 1.0.0-rc.11 release

lyz810 opened this issue · 5 comments

https://registry.npmjs.org/enzyme/3.11.0

version of cheerio: ^1.0.0-rc.3 will auto install the lastest version 1.0.0-rc.11, it will cause enzyme crash

In the source code(https://github.com/enzymejs/enzyme/blob/master/packages/enzyme/package.json#L42), the package.json declare version of cheerio is =1.0.0-rc3, but I think this version is not release yet.

So, please update the npm package to make the version declaration valid

Duplicate of #2558.

enzyme breaks with every version of cheerio after v1.0.0-rc.3, and the next release of enzyme will pin it. In the meantime, you can solve it by adding a dev dependency of cheerio set to =1.0.0-rc.3.

Duplicate of #2558.

enzyme breaks with every version of cheerio after v1.0.0-rc.3, and the next release of enzyme will pin it. In the meantime, you can solve it by adding a dev dependency of cheerio set to =1.0.0-rc.3.

Could you let us know the plan of next release timeline

There's no planned release date.

This is a trivially solvable problem in the meantime, so it's not particularly pressing.

Any one who is first install enzyme will meet this issue.
I suggest you to add an announcement or pin this issue, to let them know the temporary solution.

I encountered a memory overflow problem when running unit tests. After two days of investigation, it was found that it was caused by the upgrade of cheerio to 1.0.0-rc.11