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 rejectionException: TypeError “_$$_REQUIRE(...) is not a constructor”var query = new EthQuery(cprovider, self.options.query);
2 uncaught exception: paused on promise rejection
Caught: TypeError "Cannot read properties of undefined (reading 'PreferencesController')"
node_modules/@babel/runtime/helpers/asyncToGenerator.js
Up-to-date follow-up to
reproducer
lib
->src
patches)modules
node_modules/ethjs/node_modules/ethjs-query/lib/index.js
node_modules/ethjs/node_modules/ethjs-contract/lib/index.js
cause
EngineService.initalizeEngine(store)
with SES/lockdowncausing 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);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)
_nodemodules/metro-runtime/src/polyfills/require.js
function metroRequire(moduleId) { … }
modules processed pre/during SES repairing intrinsicsfirst seen in