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

The number of constructor arguments in the derived class t must be >= than the number of constructor arguments of its base class.

Open Eljoy opened this issue 4 years ago • 4 comments

Having issue while building:

npx react-native bundle --entry-file=index.js --bundle-output='./bundle.js' --dev=false --platform='android' --assets-dest='./android' --reset-cache --verbose

The number of constructor arguments in the derived class t must be >= than the number of constructor arguments of its base class.

Probably due to the old javascript-obfuscator dependency? can it be updated ?

Eljoy avatar Jul 28 '20 11:07 Eljoy

Same issue!

aureliopetrone avatar Aug 13 '20 00:08 aureliopetrone

@ds300 ping

sanex3339 avatar Aug 26 '20 03:08 sanex3339

Same issue here due to dependency on old javascript-obfuscator version

https://github.com/javascript-obfuscator/javascript-obfuscator/issues/452

quantjamespecutus avatar Aug 26 '20 03:08 quantjamespecutus

I had the same issue, eventually just restructured my project to have a src directory where I put all the files I wanted to be obsfucated. That's where the lib looks by default so you can ommit the filter field if your only use case is to define a custom path. This doesn't solve your issue if you have more complex needs tho..

TowhidKashem avatar Aug 14 '22 08:08 TowhidKashem