Failed Building JavaScript bundle iOS

node_modules/react-native/Libraries/Utilities/PerformanceLoggerContext.js: Property body[6] of BlockStatement expected node to be of a type [“Statement”] but instead got “AssignmentExpression”

It works on web browser but not on the Simulator. Any help is appreciated!

Got same error in iOS device.
Tried deleting and re-installing node-modules, but no success.

I tweeted them & they responded. link to the repository

I deleted node-modules, yarn.lock & package-lock.json and installed again using yarn install

this time its working fine,

as mentioned in here, version updated to 7.15.1.