numandev1 / react-native-decompiler

Decompile React Native Android/IOS Bundle.
GNU Affero General Public License v3.0
275 stars 25 forks source link

sh: react-native-decompiler: command not found #24

Open houmie opened 1 year ago

houmie commented 1 year ago

Hello,

When I install it, it shows right away sh: react-native-decompiler: command not found.

$npx react-native-decompiler@0.2.3
Need to install the following packages:
  react-native-decompiler@0.2.3
Ok to proceed? (y) y
sh: react-native-decompiler: command not found

Installation via npm shows the same error. What am I missing please?

Subsequent running:

npx react-native-decompiler@0.2.3 -i app-release/assets/index.android.bundle -o ./output Also ends up as

sh: react-native-decompiler: command not found

Many Thanks

houmie commented 1 year ago

Version react-native-decompiler@0.2.2 works. Please fix the latest version (0.2.3) on Mac.

DerekRies commented 1 year ago

Looks like there's nothing published in the 0.2.3 package apart from the license, package.json, and README.md files.

xShuden commented 1 year ago

Were you able to solve this problem? I'm using version "0.2.3" and have the same problem.

houmie commented 1 year ago

Downgrade to 0.2.2. But even after you install it, this project doesn't seem to be able to decompile anything. At least I couldn't get it work.

numandev1 commented 1 year ago

@houmie @xShuden @DerekRies Sorry for the delay, I have published 0.2.4. can you check now, it should work now.

npx react-native-decompiler -i ./index.android.bundle -o ./output
xShuden commented 1 year ago

I see this message. What should I do? @numandev1

https://www.hizliresim.com/tdwy4pu