Packager not loading on Linux


#1

Hello,

Does anybody knows why when running the packager, it hangs on

r$ npm start --verbose
npm info it worked if it ends with ok
npm verb cli [ ‘/usr/bin/nodejs’, ‘/usr/bin/npm’, ‘start’, ‘–verbose’ ]
npm info using npm@4.2.0
npm info using node@v7.10.1
npm verb run-script [ ‘prestart’, ‘start’, ‘poststart’ ]
npm info lifecycle Reader@0.0.1~prestart: Reader@0.0.1
npm info lifecycle Reader@0.0.1~start: Reader@0.0.1

Reader@0.0.1 start /home/kimi/test/ExpoApp
react-native-scripts start

1:38:06 PM: Starting packager…

And…1/ 20 / 30 minutes later it’s still there…

Thanks!


#2

Ok. It was fixed by runnig

sudo sysctl -w fs.inotify.max_user_watches=10000

before “npm start”


#3

Glad you figured out a way to get it to work! Thanks for sharing.


#4

Still getting the same issue.

Please check the screenshot for detail.

Please help me ASAP.

Thank you!


#5