npm install -g yarn react-native-cli 报错!!!



  • npm ERR! Darwin 16.1.0
    npm ERR! argv "/usr/local/Cellar/node/6.1.0/bin/node" "/usr/local/bin/npm" "install" "-g" "yarn" "react-native-cli"
    npm ERR! node v6.1.0
    npm ERR! npm v4.0.5

    npm ERR! Cannot read property 'path' of null
    npm ERR!
    npm ERR! If you need help, you may report this error at:
    npm ERR! https://github.com/npm/npm/issues

    npm ERR! Please include the following file with any support request:
    npm ERR! /Users/cenzhijun/Desktop/npm-debug.log


登录后回复