javascript-obfuscator / react-native-obfuscating-transformer

Obfuscation for React Native bundles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Old javascript-obfuscator dependence causes error

antonandreyev opened this issue · 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

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

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