Buliding of android app using Runtime Version: 4.7.36 giving error Unable to resolve module keymirror

building of android app using Runtime Version: 4.9.72 or Runtime Version: 4.7.36
giving

FAILED with ERROR:

│ [ error ] [project configure] Cannot find module ‘psl’

Please help me with this ASAP. thanks

i have refreshed the browser that error is gone facing a new error now

FAILED with ERROR:

│ [ error ] [package] COMMAND:
react-native bundle --platform android --dev false --assets-dest /tmp/618190-android-290857/platformBuilds/standalone_android/app/src/main/res --entry-file index.js --bundle-output /tmp/618190-android-290857/platformBuilds/standalone_android/app/src/main/assets/index.bundle --config=metro.config.js
FAILED with ERROR:
error Unable to resolve module keymirror from /tmp/618190-android-290857/node_modules/react-native-webview-bridge/webview-bridge/index.android.js: keymirror could not be found within the project or in these directories:
node_modules
If you are sure the module exists, try these steps:

  1. Clear watchman watches: watchman watch-del-all
  2. Delete node_modules and run yarn install
  3. Reset Metro’s cache: yarn start --reset-cache
    Error: Unable to resolve module keymirror from /tmp/618190-android-290857/node_modules/react-native-webview-bridge/webview-bridge/index.android.js: keymirror could not be found within the project or in these directories:
    node_modules
    If you are sure the module exists, try these steps:
  4. Clear watchman watches: watchman watch-del-all
  5. Delete node_modules and run yarn install
  6. Reset Metro’s cache: yarn start --reset-cache
    error Unable to resolve module keymirror from /tmp/618190-android-290857/node_modules/react-native-webview-bridge/webview-bridge/index.android.js: keymirror could not be found within the project or in these directories:
    node_modules
    If you are sure the module exists, try these steps:
  7. Clear watchman watches: watchman watch-del-all
  8. Delete node_modules and run yarn install
  9. Reset Metro’s cache: yarn start --reset-cache
    Error: Unable to resolve module keymirror from /tmp/618190-android-290857/node_modules/react-native-webview-bridge/webview-bridge/index.android.js: keymirror could not be found within the project or in these directories:
    node_modules
    If you are sure the module exists, try these steps:
  10. Clear watchman watches: watchman watch-del-all
  11. Delete node_modules and run yarn install
  12. Reset Metro’s cache: yarn start --reset-cache
    error Unable to resolve module keymirror from /tmp/618190-android-290857/node_modules/react-native-webview-bridge/webview-bridge/index.android.js: keymirror could not be found within the project or in these directories:
    node_modules
    If you are sure the module exists, try these steps:
  13. Clear watchman watches: watchman watch-del-all
  14. Delete node_modules and run yarn install
  15. Reset Metro’s cache: yarn start --reset-cache
    Error: Command failed with exit code 1: react-native bundle --platform android --dev false --assets-dest /tmp/618190-android-290857/platformBuilds/standalone_android/app/src/main/res --entry-file index.js --bundle-output /tmp/618190-android-290857/platformBuilds/standalone_android/app/src/main/assets/index.bundle --config=metro.config.js
    error Unable to resolve module keymirror from /tmp/618190-android-290857/node_modules/react-native-webview-bridge/webview-bridge/index.android.js: keymirror could not be found within the project or in these directories:
    node_modules
    If you are sure the module exists, try these steps:
  16. Clear watchman watches: watchman watch-del-all
  17. Delete node_modules and run yarn install
  18. Reset Metro’s cache: yarn start --reset-cache
    Error: Unable to resolve module keymirror from /tmp/618190-android-290857/node_modules/react-native-webview-bridge/webview-bridge/index.android.js: keymirror could not be found within the project or in these directories:
    node_modules
    If you are sure the module exists, try these steps:
  19. Clear watchman watches: watchman watch-del-all
  20. Delete node_modules and run yarn install
  21. Reset Metro’s cache: yarn start --reset-cache
    at makeError (/tmp/618190-android-290857/node_modules/execa/lib/error.js:60:11)
    at handlePromise (/tmp/618190-android-290857/node_modules/execa/index.js:118:26)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    │ │
    │ Project location: │
    │ ./platformBuilds/standalone_android │

confirm. all android build runtimes are failing.

Yes sir, all are failing. i uninstalled firebase push notification logic plugins then this issue arised. earlier aab/apk was generating successfully. thanks
My App id is 515410

I just got a successful build using runtime verion 4.6.46. All other version failed!

i will give it a try @Andrew_Cadiz. thanks. Runtime version 4.5 were very nice. never faced an error on that.

@Andrew_Cadiz it did not worked for me.

FAILED with ERROR:

│ [ error ] [project configure] Cannot find module ‘psl’
Require stack:

  • /tmp/618190-android-290965/node_modules/tough-cookie/lib/pubsuffix-psl.js
  • /tmp/618190-android-290965/node_modules/tough-cookie/lib/cookie.js
  • /tmp/618190-android-290965/node_modules/request/lib/cookies.js
  • /tmp/618190-android-290965/node_modules/request/index.js
    Error: Cannot find module ‘psl’
    Require stack:
  • /tmp/618190-android-290965/node_modules/tough-cookie/lib/pubsuffix-psl.js
  • /tmp/618190-android-290965/node_modules/tough-cookie/lib/cookie.js
  • /tmp/618190-android-290965/node_modules/request/lib/cookies.js
  • /tmp/618190-android-290965/node_modules/request/index.js

It looks like the builder is not stable. I did try again and failed. Then tried to queue all runtime builds and got lucky to get at least 1 successful build - but this time it is under the following builds:
Android: runtime 4.7.37
IOS: 4.6.36 & 4.9.72.

It appears that the developers are currently addressing various issues with the runtime builds of AppGyver. One particular concern was the console dependency problem, which had an impact on all the runtime build versions. In order to offer a temporary solution, they have released version 4.9.72 as a workaround. We can remain optimistic and look forward to the developers implementing the necessary fixes in the near future.

Thanks. I will follow your technique. may it work. will test ios also .currently i need to fix android version.


can we get Runtime version:4.5 again.

yes, i like Appgyver. it’s a nice platform. i hope these issues will be resolved ASAP.

Great! this worked. in my case all others than 4.7.37 worked :slight_smile:
thanks a lot @Andrew_Cadiz my client was worried and calling me again and again. have a nice day