jhen0409 / react-native-boilerplate

The React Native, Redux boilerplate for personal usage
MIT License
246 stars 80 forks source link

Defs deprecated and/or uglify-js throwing error because of "window-size" module #5

Closed ferologics closed 7 years ago

ferologics commented 8 years ago

screenshot 2016-04-21 13 54 04

https://github.com/olov/defs

jhen0409 commented 8 years ago

Thanks! :) I am also aware of the problem, it only in npm run android (withreact-native run-android)

You can temporary use npm start in another tab, then runnpm run android.

ferologics commented 8 years ago

I managed to get it working by

updating my npm always using sudo with any commands involved I had to "npm i --force" and "npm update --force"

jhen0409 commented 8 years ago

Yeah, it seems are problem of the older npm versions (I using v3.3), I tried second run of npm install it will be complete dependencies. The npm v3.8.x is work fine.

Keep this issue open. :)