Javascript::Duktape::XS 0.75+ does not work with qgoda
gflohr opened this issue · comments
Guido Flohr commented
The incomplete fix to gonzus/JavaScript-Duktape-XS#13 breaks qgoda ("Perl sub died with error: Cannot find module 'buffer'!").
Fix: Check the version of the Duktape binding and bail out if the version is greater than 0.74.
The problem is that the JavaScript module resolver built into qgoda has JavaScript dependencies that use try/catch blocks. But Perl exceptions can no longer be caught with JavaScript beginning with JavaScript::Duktape::XS version 0.75.