Always when run a cleanup the project crashes

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?

1 Like

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

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?

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

@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

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