node.js - create-react-native npm start hangs -
after successful create-react-native tried initialize project npm start. after 2 hours doesn't finish loading. basic example has finished couple of time after waiting, when added code more advanced never finishes. use npm 4.2.0 , node 7.10.0. not able find out npm start does. has download lot? if so, might know why never finishes, because i'm in remote place in india crappy internet.
sudo npm start --verbose npm info worked if ends ok npm verb cli [ '/usr/local/bin/node', npm verb cli '/usr/local/bin/npm', npm verb cli 'start', npm verb cli '--verbose' ] npm info using npm@4.2.0 npm info using node@v7.10.0 npm verb run-script [ 'prestart', 'start', 'poststart' ] npm info lifecycle cameratest@0.1.0~prestart: cameratest@0.1.0 npm info lifecycle cameratest@0.1.0~start: cameratest@0.1.0 > cameratest@0.1.0 start /home/piepongwong/programming/reactnativeex/cameratest > react-native-scripts start 9:35:47 pm: starting packager...
.... hangs forever
i have found open issue on create-react-native-app github github.com/react-community/create-react-native-app/issues/234. running "sudo sysctl -w fs.inotify.max_user_watches=10000" before "npm start" speeds process.
Comments
Post a Comment