react native error

create-react-native-app app

error

error An unexpected error occurred: "Couldn't find package \"invariant@^2.2.2\" required by \"babel-traverse@^6.26.0\" on the \"npm\" registry.".
info If you think this is a bug, please open a bug report with the information provided in "C:\\Users\\fangl\\Documents\\code _everyday\\AwesomeProject\\yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Error: Couldn't find package "invariant@^2.2.2" required by "expo@^25.0.0" on the "npm" registry.
    at new MessageError (C:\Users\fangl\AppData\Roaming\npm\node_modules\yarn\lib\cli.js:186:110)
    at PackageRequest. (C:\Users\fangl\AppData\Roaming\npm\node_modules\yarn\lib\cli.js:36274:17)
    at Generator.throw ()
    at step (C:\Users\fangl\AppData\Roaming\npm\node_modules\yarn\lib\cli.js:98:30)
    at C:\Users\fangl\AppData\Roaming\npm\node_modules\yarn\lib\cli.js:111:13
    at 
    at process._tickCallback (internal/process/next_tick.js:188:7)
Error: Couldn't find package "invariant@^2.2.2" required by "[email protected]" on the "npm" registry.
    at new MessageError (C:\Users\fangl\AppData\Roaming\npm\node_modules\yarn\lib\cli.js:186:110)
    at PackageRequest. (C:\Users\fangl\AppData\Roaming\npm\node_modules\yarn\lib\cli.js:36274:17)
    at Generator.throw ()
    at step (C:\Users\fangl\AppData\Roaming\npm\node_modules\yarn\lib\cli.js:98:30)
    at C:\Users\fangl\AppData\Roaming\npm\node_modules\yarn\lib\cli.js:111:13
    at 
    at process._tickCallback (internal/process/next_tick.js:188:7)
Error: Couldn't find package "invariant@^2.2.2" required by "[email protected]" on the "npm" registry.
    at new MessageError (C:\Users\fangl\AppData\Roaming\npm\node_modules\yarn\lib\cli.js:186:110)
    at PackageRequest. (C:\Users\fangl\AppData\Roaming\npm\node_modules\yarn\lib\cli.js:36274:17)
    at Generator.throw ()
    at step (C:\Users\fangl\AppData\Roaming\npm\node_modules\yarn\lib\cli.js:98:30)
    at C:\Users\fangl\AppData\Roaming\npm\node_modules\yarn\lib\cli.js:111:13
    at 
    at process._tickCallback (internal/process/next_tick.js:188:7)
Failed to install

next error:

npm ERR! shasum check failed for C:\Users\fangl\AppData\Local\Temp\npm-10908-f2a0d99e\registry.npm.taobao.org\react-native\download\react-native-0.52.0.tgz
npm ERR! Expected: 9784663a2aa40b30c87d4c9c06ef26cf8d419d91
npm ERR! Actual:   fac22f8c5fb2ee454dd6f723ad4668975b58256b
npm ERR! From:     https://registry.npm.taobao.org/react-native/download/react-native-0.52.0.tgz

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\fangl\AppData\Roaming\npm-cache\_logs\2018-03-26T11_48_31_035Z-debug.log
Failed to install

你可能感兴趣的:(react native error)