react-native-obfuscating-transformer icon indicating copy to clipboard operation
react-native-obfuscating-transformer copied to clipboard

Old javascript-obfuscator dependence causes error

Open antonandreyev opened this issue 5 years ago • 3 comments

Hi,

With current 0.13.0 version of javascript-obfuscator I'm getting error

The number of constructor arguments in the derived class t must be >= than the number of constructor arguments of its base class at getTargets (...\node_modules\react-native-obfuscating-transformer\node_modules\inversify\lib\planning\reflection_utils.js:32:15)

With updated version to 0.27.2 ther is no error.

Now I'm going to override the nested dependency in package.json, but please consider updating dependecy.

My node version is 12.16.0

antonandreyev avatar Mar 24 '20 08:03 antonandreyev

+1 I just run into the same problem. I don't think node version matters, I'm using 13.8.0

jes-carr avatar Mar 27 '20 08:03 jes-carr

@ds300 ping

sanex3339 avatar Aug 26 '20 03:08 sanex3339

upgrade the JavaScript obfuscator version to 2.11.0 in your node module react-native-obfuscating-transformer 1 - just open the react-native-obfuscating-transformer from node module in terminal and delete node module and change the JavaScript obfuscator version and run npm i again

crzycoder avatar Jun 22 '21 07:06 crzycoder