Problem – After running “npm start” execution got stuck on “starting/running packager..”

Solution to the problem -> After running “npm start” execution got stuck on starting/running packager

When we run npm start it took some time as per your CPU and RAM configuration but in some cases, it took more than an hour which is a problem. If you are fighting with the same here is the solution.

Temporary Solution for the Problem

after running npm start when it shows “starting/running packager.” just press ‘q’ it will display the QR code, but it won’t display the QR code automatically. If you don’t press ‘q’, it will just say “starting/running packager”.

 

Permanent Solution

To solve this issue permanently you need to remove the nodejs and npm completely from your computer. To remove

Windows Users can uninstall npm and node and can download the latest one and install. If you have any issue please follow this post to install node and npm.

Linux Users can uninstall and remove nodejs and npm by running the following command

Then go to /etc/apt/sources.list.d and remove any node list if you have.

After removing all the file run

It will remove your npm and nodejs completely. Also remove the node_module from your package too.

Open the terminal and run the following commands to install nodejs and npm in Linux

Test using following commands

If you have any other concern about node and npm installation please have a look at this.

After Installation of node again delete the node_module directory from your project and run

This will take some time as this will make the node_module directory again by installing the node dependencies.

After that try to run following command again to run the project in Expo Client App.

Hope it will work as it worked for me.

If you have any doubt or you want to share something about the topic you can comment below or contact us here. There will be more posts coming soon. Stay tuned!

Hope you liked it. 🙂

How useful was this post?

Click on a star to rate us!

Average rating / 5. Vote count:

As you found this post useful...

Follow us on social media!

We are sorry that this post was not useful for you!

Let us improve this post!

0 replies

Leave a Reply

Want to join the discussion?   Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.