npm install React-native-deprecated-custom-components --save找不到包

  • 0.44版本 Navigator不在react-native包中,
    网上的解决方案是 cd项目目录
    执行:npm install React-native-deprecated-custom-components --save

    npm install React-native-deprecated-custom-components --save
    npm ERR! Darwin 16.7.0
    npm ERR! argv "/usr/local/Cellar/node/6.6.0/bin/node" "/usr/local/bin/npm" "install" "React-native-deprecated-custom-components" "--save"
    npm ERR! node v6.6.0
    npm ERR! npm v3.10.7
    npm ERR! code E404

    npm ERR! 404 Registry returned 404 for GET on
    npm ERR! 404
    npm ERR! 404 'React-native-deprecated-custom-components' is not in the npm registry.
    npm ERR! 404 Your package name is not valid, because
    npm ERR! 404 1. name can no longer contain capital letters
    npm ERR! 404
    npm ERR! 404 Note that you can also install from a
    npm ERR! 404 tarball, folder, http url, or git url.

  • R -> r