Closed SkaceKamen closed 3 years ago
This line causes crash on nodejs < 10.3: https://github.com/sindresorhus/p-limit/blob/b702cc1aa737ae834b4deaf87a537812d8d5418f/index.js#L30
This is "Optional Catch Binding" and is only supported in nodejs version 10.3 and higher, see https://node.green/#ES2019-misc-optional-catch-binding
Sorry, seems like the issue was that we were running incorrect nodejs version, but still passed the node >= 10 check :\
This line causes crash on nodejs < 10.3: https://github.com/sindresorhus/p-limit/blob/b702cc1aa737ae834b4deaf87a537812d8d5418f/index.js#L30
This is "Optional Catch Binding" and is only supported in nodejs version 10.3 and higher, see https://node.green/#ES2019-misc-optional-catch-binding