ReactNativeUtil icon indicating copy to clipboard operation
ReactNativeUtil copied to clipboard

Uncaught (in promise) Error: DeltaPatcher should receive a fresh Delta when being initialized

Open wuyunqiang opened this issue 7 years ago • 8 comments

exportduplicate.png 如果一个页面里面有两个export default 就会出现bug

wuyunqiang avatar Feb 23 '18 09:02 wuyunqiang

Even I'm facing the same issue, I have to run 'react-native run-android' command again to fix this. Its annoying to run the same command twice for every compile.

SurajMDurgad avatar Mar 03 '18 08:03 SurajMDurgad

Same here, re-running simulator seems to fix but it`s annoying

ropaillet avatar Mar 05 '18 15:03 ropaillet

Same problem! Re-running the simulator fixed it but after application reloads some times crash again. image

ludobit avatar Mar 06 '18 15:03 ludobit

https://github.com/facebook/react-native/issues/18209

wuyunqiang avatar Mar 07 '18 02:03 wuyunqiang

I solved this problem by removing unexpected character inside my constructor while declaring my state. I used equal sign, while i should have used ':' From this.state = { email='', }

to

this.state = { email:'', }

I hope this help.

surafel-nigussie avatar Jun 25 '18 16:06 surafel-nigussie

Wow, this is still an open issue? I am getting this error after upgrading to React Native 0.59.9 and React 16.8

ldco2016 avatar Jun 11 '19 18:06 ldco2016

Just kill the 'metro bundler' window and re-run the project ex: 'react-native run-android'. If you have debugger window open then refresh that too.

yogavigneshwaran avatar Jul 03 '19 07:07 yogavigneshwaran

I solved this problem just by removing some wrong imports import myPheo from './src/assets/pheo.jpg'

byteab avatar Jul 15 '19 11:07 byteab