xinthink / rnmk-demo

react-native-material-kit demo
80 stars 44 forks source link

npm start fails because of a non canonical path returned by the solveRNMK() function #11

Closed rwngallego closed 8 years ago

rwngallego commented 8 years ago

npm start fails because of a non canonical path returned by the solveRNMK() function in packager.sh. For instance, this is returning:

solved RNMK -> ../../../../.nvm/v4.2.6/lib/node_modules/react-native-material-kit

And failing:

ERROR  ENOENT: no such file or directory, stat '/home/username/Sandbox/react/.nvm/v4.2.6/lib/node_modules/react-native-material-kit'

Using a canonical path resolution the problem is fixed.

rwngallego commented 8 years ago

Pull request for fixing this: https://github.com/xinthink/rnmk-demo/pull/10