gulp-cheerio

RangeError: Maximum call stack size exceeded caused by array.splice.apply?

放肆的年华 提交于 2019-12-11 06:18:27
问题 I'm running a cheerio task and it throws an exception that prints this (Note that I added the log statements that print the size of spliceArgs and array : [14:17:08] Starting 'test:css'... SPLICE ARGS LENGTH: 4 ARRAY LENGTH: 5 SPLICE ARGS LENGTH: 132519 ARRAY LENGTH: 0 /home/ole/@superflycss/utilities-fonts/node_modules/cheerio/lib/api/manipulation.js:109 return array.splice.apply(array, spliceArgs); ^ RangeError: Maximum call stack size exceeded at uniqueSplice (/home/ole/@superflycss