Search code examples
javascriptandroidreact-nativereact-native-debugger

Decimal Integer literals with a leading zero are forbidden in strict mode?


enter image description here

16 17

const App()-1

10 retum [..

19 20

NavigationContainer

Stack.Navigator

21

Stack Stronn nane="Hune" carponent={Hote) /

22

Stack Screen hane-"List" component-List>

Stack.Scrom name="Login" component(Login)

24

Stack, Scronn naneap component-(Map) />

Stack Sernun, nane-batch componente Entch) A

// Stack Screen nam Tatitur cutuulient-(Tammar) />()

27

/Stack Bavigators

S

Decimal integer literals with a leading zero are forbidden in strict mode

Login a

Decimal integer literals with a leading zero are forbidden in strict mode

OAP

D

+

G

node modules

no stack

no stack

App is

flowconfic

29

31 .) }}

32 3

33

35 1/27 Tah Navigation

Tub Screen rate Tabbiar component-(Tabbar/

37

//// </Tankarigatar>

38

42

expert default App;

Solution

  • Try to clean your gradle of android using :-

    cd android
    
    
    ./gradlew clean
    

    And restart the metro by clearing the cache

    npx react-native start --reset-cache