tradle / rn-nodeify

hack to allow react-native projects to use node core modules, and npm modules that use them
MIT License
618 stars 112 forks source link

Strange error occurred #138

Open PavloKon opened 5 months ago

PavloKon commented 5 months ago

After running this command : rn-nodeify --install crypto --hack I met new error like this.

 ERROR  TypeError: Cannot read property 'slice' of undefined, js engine: hermes
 LOG  Running "EnRoute" with {"rootTag":1,"initialProps":{}}
 ERROR  Invariant Violation: "EnRoute" has not been registered. This can happen if:
* Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
* A module failed to load due to an error and `AppRegistry.registerComponent` wasn't called., js engine: hermes

Sometimes slice was changed seed.

How to fix this?

Please help me, I am on huge project, but didn't pass to next step because of this error.

Best regards.