• Register
0 votes
4.4k views

Problem :

I am trying to use the native base for making app in the react-native. I am very new to both things. When I try to run the app It gives me below error:

“Module appregistry is not a registered callable module (calling runapplication)”Below is my code for your reference :

​


export default class MyPoint extends Component {

   render() {

        return (

            <Container>

                <Header>

                    <Left>

                        <Button transparent>

                            <Icon name='Mymenu' />

                        </Button>

                    </Left>

                    <Body>

                        <Title>Header</Title>

                    </Body>

                    <Right/>

                </Header>

            </Container>

        );

    }

}



​

My native-base version is as follows "native-base": "^2.1.2"

6 5 3
7,540 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

I had also faced the similar issue in the recent past. I did lot of research on it and found the solution on it. This is the very common problem with the people getting started.

You need to just kill all the node process and start your npm server and run application with the use of below commands :

Step 1: Run the command as killall -9 node

For the windows users, need to run: taskkill /im node.exe

Run the taskkill /f /im node.exe if your process still persists.

Step 2: run the command as npm start --reset-cache

Step 3: run the command as react-native run-ios OR react-native run-android

OR

Closing your current Metro Bundler and just restarting by resetting your cache worked for me as below :

npm start -- --reset-cache
 
9 7 4
38,600 points

Related questions

0 votes
1 answer 19 views
19 views
Problem : I am trying to use the native base for making app in the react-native. I am very new to both things. how I can fix this error: Module appregistry is not a registered callable module (calling runapplication) .
asked Mar 6 Wafa Abu Yousef 6.1k points
0 votes
1 answer 2 views
2 views
Problem: I then started the Props tutorial, I copied the code snippet and tried to run the project again and had the following error message show up on my screen: React native application has not been registered
asked Mar 27 ummesalma 25.2k points
0 votes
1 answer 3 views
3 views
Problem: I have an issue that i am unable to find module info file can anybody solve this issue.
asked Mar 22 waseem memon 2.4k points
0 votes
1 answer 2 views
2 views
Problem: Hello Geeks! I am uable to find the solution of this error, please help. Unable to find module for asset id.
asked Mar 20 PkGuy 13.1k points
0 votes
1 answer 5 views
5 views
Problem: I have a problem that i am unable to resolve module react native.can any one suggest me the answer Thanks in advance
asked Mar 18 waseem memon 2.4k points
0 votes
1 answer 3 views
3 views
Problem: Anyone know map is function react or not if anyone can help me on this i will really appreciate it, can anyone?
asked 2 days ago niyatiry 3.2k points
0 votes
1 answer 5 views
5 views
Problem: I am trying to retrieve data from an API and then render it but I seem to be running into problems. I'm getting errors like: undefined is not an object (evaluating 'this.props.photos') in RenderPhotos_render
asked Mar 27 ummesalma 25.2k points
0 votes
1 answer 34 views
34 views
Problem: yarn' is not recognized as an internal or external command, operable program or batch file.
asked Feb 18 Lucky Guy 1.5k points
0 votes
1 answer 62 views
62 views
Problem: yarn' is not recognized as an internal or external command.
asked Feb 16 Ethan ross 2.7k points