Skip to content

Cannot read property 'slice' of undefined #120

@yungblud

Description

@yungblud

Hello, I am trying to run granite app from template in dev mode.
I followed this step and extracted zip file.
Also I dragged and dropped .app file to my simulator.

It was installed fine. But when I try to load bundle I got this error.

Image
2025-09-12.9.03.31.mov

error log in dev server

ERROR  TypeError: Cannot read property 'slice' of undefined

This error is located at:
    in Router (created by AppRoot)
    in BackEventProvider (created by AppRoot)
    in RNCSafeAreaProvider (created by SafeAreaProvider)
    in SafeAreaProvider (created by AppRoot)
    in AppStateProvider (created by VisibilityProvider)
    in VisibilityChangedProvider (created by VisibilityProvider)
    in VisibilityProvider (created by App)
    in App (created by AppRoot)
    in InitialPropsProvider (created by AppRoot)
    in AppRoot (created by Root)
    in Root (created by component)
    in component
    in RCTView (created by View)
    in View (created by AppContainer)
    in RCTView (created by View)
    in View (created by AppContainer)
    in AppContainer
    in shared(RootComponent), js engine: hermes

And also, I wonder is there any other way to run granite app directly? (with XCode or Android Studio)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions