I have followed all the instruction given at this upgrade helper for upgrading RNv0.62 to v0.64.1 and my app is getting installed successfully in the device but my metro bundler is failing with some random error which I am unable to figure out at all.
Whenever I try to run my packager it throws this error TypeError: _this7._config.server.rewriteRequestUrl is not a function at node_modules/metro/src/Server.js:1011:39
if anyone can help me what exactly should I do to debug this.
To understand the difference what I did that I logged _this7._config.server
object in console for my project and a working 0.64.1 project,obviously both of them are different.
my _this7._config.server
after update process
{ useGlobalHotkey: true, port: 8081, enableVisualizer: false, enhanceMiddleware: [Function (anonymous)], runInspectorProxy: true, verifyConnections: false}
other _this7._config.server
for 0.64.1 which is working
{ useGlobalHotkey: true, port: 8081, enhanceMiddleware: [Function (anonymous)], rewriteRequestUrl: [Function: rewriteRequestUrl], runInspectorProxy: true, verifyConnections: false}
I am not able to figure out what exactly going wrong,due to both are different