skip to Main Content

"error: Error: 1:183:invalid expression" React Native Metro Bundle Hermes Error

Got the following metro bundling error (both for iOS and Android) after starting migration from React Native 0.66.0 to React Native 0.71.4 using this tool https://react-native-community.github.io/upgrade-helper/?from=0.66.0&to=0.71.4 error: Error: 1:183:invalid expression at module.exports.compile (/Users/nezort11/dev/walnuts/node_modules/metro-hermes-compiler/src/index.js:107:15) at _getPrelude (/Users/nezort11/dev/walnuts/node_modules/metro/src/lib/getPrependedScripts.js:99:21) at getPrependedScripts (/Users/nezort11/dev/walnuts/node_modules/metro/src/lib/getPrependedScripts.js:66:5) at…

VIEW QUESTION

iOS React Native Hermes not show in chrome inspect

I just upgrade my iOS RN from 0.63 to 0.65. Then enable hermes in podfile. I can start app normally, JSI is showing in developer menu, mean hermes is running. I follow exactly guide from https://reactnative.dev/docs/hermes#debugging-js-on-hermes-using-google-chromes-devtools But console.log code inside…

VIEW QUESTION
Back To Top
Search