LavaMoat / docs

React Native docs
1 stars 3 forks source link

MMM + SES: Uncaught exceptions (2) ethjs #20

Open leotm opened 1 year ago

leotm commented 1 year ago

Up-to-date follow-up to

reproducer

modules

cause

TypeError: Cannot assign to read only property 'constructor' of object '[object Object]'
Error: Requiring module "node_modules/ethjs/node_modules/ethjs-query/lib/index.js", which threw an exception: TypeError: Cannot assign to read only property 'constructor' of object '[object Object]'
TypeError: _$$_REQUIRE(...) is not a constructor
TypeError: Cannot read properties of undefined (reading 'tokenList')
SES_UNHANDLED_REJECTION: 

causing 2 uncaught promise rejection exceptions

_nodemodules/ethjs/lib/index.js 1 uncaught exception: Paused on promise rejection Exception: TypeError “_$$_REQUIRE(...) is not a constructor” var query = new EthQuery(cprovider, self.options.query);

Screenshot 2023-05-26 at 13 13 46

2 uncaught exception: paused on promise rejection Caught: TypeError "Cannot read properties of undefined (reading 'PreferencesController')" node_modules/@babel/runtime/helpers/asyncToGenerator.js

3 (x4)

Screenshot 2023-05-26 at 13 22 32

_nodemodules/metro-runtime/src/polyfills/require.js function metroRequire(moduleId) { … } modules processed pre/during SES repairing intrinsics

Screenshot 2023-05-26 at 17 49 11

Simulator Screen Shot - iPhone 12 Pro - 2023-06-07 at 17 30 42

first seen in