Always when run a cleanup the project crashes


#1

running
watchman watch-del-all
rm -rf node_modules && npm install
rm -fr $TMPDIR/react-*
npm start – --reset-cache

the project crashes because npm install gets new version of packages. How solve it?


#2

Are you saying you’re running those commands whenever you update new packages?


#3

yes that’s it. when run npm install some packages get updated… it breaks the whole project when it happens. Is there a way to solve it?


#4

What npm version are you using? You might try yarn instead.


#5

@jimmylee
npm 4.6.1
exp 49.2.2
react-native-cli 2.0.1
react-native 0.50.3

it’s realated with Error while updating property ‘uri’ of a view managed by ExponentVideo


closed #6

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.