Reactive Native开发环境搭建
root@zhongzhenhua-virtual-machine:~/AndroidCode# repo init -u https://android.googlesource.com/platform/manifest -b android-7.0.0_r1
.repo/manifests/: discarding commits Your identity is: Gitzhongzh <blueheart@google.com>
If you want to change this, please re-run 'repo init' with --config-name repo has been initialized in /root/AndroidCode
root@zhongzhenhua-virtual-machine:~/AndroidCode# repo init -u git://aosp.tuna.tsinghua.edu.cn/android/platform/manifest
fatal: unable to connect to aosp.tuna.tsinghua.edu.cn:
aosp.tuna.tsinghua.edu.cn[: 101.6.6.177]: errno=拒绝连接 fatal: unable to connect to aosp.tuna.tsinghua.edu.cn:
aosp.tuna.tsinghua.edu.cn[: 101.6.6.177]: errno=拒绝连接 fatal: cannot obtain manifest git://aosp.tuna.tsinghua.edu.cn/android/platform/manifest
root@zhongzhenhua-virtual-machine:~/AndroidCode# repo init -u git://aosp.tuna.tsinghua.edu.cn/android/platform/manifest
fatal: unable to connect to aosp.tuna.tsinghua.edu.cn:
aosp.tuna.tsinghua.edu.cn[: 101.6.6.178]: errno=拒绝连接 fatal: unable to connect to aosp.tuna.tsinghua.edu.cn:
aosp.tuna.tsinghua.edu.cn[: 101.6.6.178]: errno=拒绝连接 fatal: cannot obtain manifest git://aosp.tuna.tsinghua.edu.cn/android/platform/manifest
root@zhongzhenhua-virtual-machine:~/AndroidCode# repo init -u git://aosp.tuna.tsinghua.edu.cn/platform/manifest
fatal: unable to connect to aosp.tuna.tsinghua.edu.cn:
aosp.tuna.tsinghua.edu.cn[: 101.6.6.178]: errno=拒绝连接 fatal: unable to connect to aosp.tuna.tsinghua.edu.cn:
aosp.tuna.tsinghua.edu.cn[: 101.6.6.178]: errno=拒绝连接 fatal: cannot obtain manifest git://aosp.tuna.tsinghua.edu.cn/platform/manifest
root@zhongzhenhua-virtual-machine:~/AndroidCode# mkdir ../WORKING_DIRECTORY
root@zhongzhenhua-virtual-machine:~/AndroidCode# cd ../WORKING_DIRECTORY
root@zhongzhenhua-virtual-machine:~/WORKING_DIRECTORY# repo init -u https://aosp.tuna.tsinghua.edu.cn/platform/manifest
^CTraceback (most recent call last):
File "/usr/bin/repo", line , in <module>
main(sys.argv[:])
File "/usr/bin/repo", line , in main
_Init(args, gitc_init=(cmd == 'gitc-init'))
File "/usr/bin/repo", line , in _Init
_Clone(url, dst, opt.quiet, not opt.no_clone_bundle)
File "/usr/bin/repo", line , in _Clone
if clone_bundle and _DownloadBundle(url, local, quiet):
File "/usr/bin/repo", line , in _DownloadBundle
r = urllib.request.urlopen(url)
File "/usr/lib/python2.7/urllib2.py", line , in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line , in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line , in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line , in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line , in https_open
context=self._context)
File "/usr/lib/python2.7/urllib2.py", line , in do_open
h.request(req.get_method(), req.get_selector(), req.data, headers)
File "/usr/lib/python2.7/httplib.py", line , in request
self._send_request(method, url, body, headers)
File "/usr/lib/python2.7/httplib.py", line , in _send_request
self.endheaders(body)
File "/usr/lib/python2.7/httplib.py", line , in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line , in _send_output
self.send(msg)
File "/usr/lib/python2.7/httplib.py", line , in send
self.connect()
File "/usr/lib/python2.7/httplib.py", line , in connect
server_hostname=server_hostname)
File "/usr/lib/python2.7/ssl.py", line , in wrap_socket
_context=self)
File "/usr/lib/python2.7/ssl.py", line , in __init__
self.do_handshake()
File "/usr/lib/python2.7/ssl.py", line , in do_handshake
self._sslobj.do_handshake()
KeyboardInterrupt
root@zhongzhenhua-virtual-machine:~/WORKING_DIRECTORY# wget https://mirrors.tuna.tsinghua.edu.cn/aosp-monthly/aosp-latest.tar
---- ::-- https://mirrors.tuna.tsinghua.edu.cn/aosp-monthly/aosp-latest.tar
正在连接 127.0.0.1:... 已连接。
已发出 Proxy 请求,正在等待回应... OK
长度: (35G) [application/octet-stream]
正在保存至: “aosp-latest.tar” aosp-latest.tar %[> aosp-latest.tar %[> aosp-latest.tar %[> aosp-latest.tar %[> aosp-latest.tar %[> aosp-latest.tar %[> aosp-latest.tar %[> aosp-latest.tar %[> aosp-latest.tar %[> aosp-latest.tar %[> aosp-latest.tar %[> aosp-latest.tar %[> aosp-latest.tar %[> aosp-latest.tar %[> aosp-latest.tar %[> aosp-latest.tar %[ aosp-latest.tar %[> aosp-latest.tar %[ ] 896.30M 484KB/s in 33m 13s -- :: ( KB/s) - 在 / 字节处发生读取错误 (成功)。 重试中。 ---- ::-- (尝试次数: ) https://mirrors.tuna.tsinghua.edu.cn/aosp-monthly/aosp-latest.tar
正在连接 127.0.0.1:... 已连接。
已发出 Proxy 请求,正在等待回应... Partial Content
长度: (35G),剩余 (34G) [application/octet-stream]
正在保存至: “aosp-latest.tar” aosp-latest.tar %[=> ] .88G 500KB/s in 3h 14m -- :: ( KB/s) - 在 / 字节处发生读取错误 (成功)。 重试中。 ---- ::-- (尝试次数: ) https://mirrors.tuna.tsinghua.edu.cn/aosp-monthly/aosp-latest.tar
正在连接 127.0.0.1:... 已连接。
已发出 Proxy 请求,正在等待回应... Partial Content
长度: (35G),剩余 (31G) [application/octet-stream]
正在保存至: “aosp-latest.tar” aosp-latest.tar %[++==> ] .75G 489KB/s in 3h 32m 无法写入 “aosp-latest.tar” (成功)。
root@zhongzhenhua-virtual-machine:~/WORKING_DIRECTORY#
| | +-- balanced-match@0.4.2
| | `-- concat-map@0.0.1
| +-- glob@7.1.0
| | +-- fs.realpath@1.0.0
| | +-- minimatch@3.0.3
| | | `-- brace-expansion@1.1.6
| | | +-- balanced-match@0.4.2
| | | `-- concat-map@0.0.1
| | `-- path-is-absolute@1.0.1
| +-- graceful-fs@4.1.9
| +-- has-unicode@2.0.1
| +-- hosted-git-info@2.1.5
| +-- iferr@0.1.5
| +-- imurmurhash@0.1.4
| +-- inflight@1.0.5
| +-- inherits@2.0.3
| +-- ini@1.3.4
| +-- init-package-json@1.9.4
| | +-- glob@6.0.4
| | | +-- minimatch@3.0.3
| | | | `-- brace-expansion@1.1.6
| | | | +-- balanced-match@0.4.2
| | | | `-- concat-map@0.0.1
| | | `-- path-is-absolute@1.0.0
| | `-- promzard@0.3.0
| +-- lockfile@1.0.2
| +-- lodash._baseindexof@3.1.0
| +-- lodash._baseuniq@4.6.0
| | +-- lodash._createset@4.0.3
| | `-- lodash._root@3.0.1
| +-- lodash._bindcallback@3.0.1
| +-- lodash._cacheindexof@3.0.2
| +-- lodash._createcache@3.1.2
| +-- lodash._getnative@3.9.1
| +-- lodash.clonedeep@4.5.0
| +-- lodash.restparam@3.6.1
| +-- lodash.union@4.6.0
| +-- lodash.uniq@4.5.0
| +-- lodash.without@4.4.0
| +-- mkdirp@0.5.1
| | `-- minimist@0.0.8
| +-- node-gyp@3.4.0
| | +-- minimatch@3.0.3
| | | `-- brace-expansion@1.1.6
| | | +-- balanced-match@0.4.2
| | | `-- concat-map@0.0.1
| | +-- npmlog@3.1.2
| | | +-- are-we-there-yet@1.1.2
| | | | `-- delegates@1.0.0
| | | +-- console-control-strings@1.1.0
| | | +-- gauge@2.6.0
| | | | +-- has-color@0.1.7
| | | | +-- object-assign@4.1.0
| | | | +-- signal-exit@3.0.0
| | | | +-- string-width@1.0.2
| | | | | +-- code-point-at@1.0.0
| | | | | | `-- number-is-nan@1.0.0
| | | | | `-- is-fullwidth-code-point@1.0.0
| | | | | `-- number-is-nan@1.0.0
| | | | `-- wide-align@1.1.0
| | | `-- set-blocking@2.0.0
| | `-- path-array@1.0.1
| | `-- array-index@1.0.0
| | +-- debug@2.2.0
| | | `-- ms@0.7.1
| | `-- es6-symbol@3.1.0
| | +-- d@0.1.1
| | `-- es5-ext@0.10.12
| | `-- es6-iterator@2.0.0
| +-- nopt@3.0.6
| +-- normalize-git-url@3.0.2
| +-- normalize-package-data@2.3.5
| | `-- is-builtin-module@1.0.0
| | `-- builtin-modules@1.1.1
| +-- npm-cache-filename@1.0.2
| +-- npm-install-checks@3.0.0
| +-- npm-package-arg@4.2.0
| +-- npm-registry-client@7.2.1
| | +-- concat-stream@1.5.2
| | | +-- readable-stream@2.0.6
| | | | +-- core-util-is@1.0.2
| | | | +-- isarray@1.0.0
| | | | +-- process-nextick-args@1.0.7
| | | | +-- string_decoder@0.10.31
| | | | `-- util-deprecate@1.0.2
| | | `-- typedarray@0.0.6
| | +-- npmlog@3.1.2
| | | +-- are-we-there-yet@1.1.2
| | | | `-- delegates@1.0.0
| | | +-- console-control-strings@1.1.0
| | | +-- gauge@2.6.0
| | | | +-- has-color@0.1.7
| | | | +-- object-assign@4.1.0
| | | | +-- signal-exit@3.0.0
| | | | +-- string-width@1.0.2
| | | | | +-- code-point-at@1.0.0
| | | | | | `-- number-is-nan@1.0.0
| | | | | `-- is-fullwidth-code-point@1.0.0
| | | | | `-- number-is-nan@1.0.0
| | | | `-- wide-align@1.1.0
| | | `-- set-blocking@2.0.0
| | `-- retry@0.10.0
| +-- npm-user-validate@0.1.5
| +-- npmlog@4.0.0
| | +-- are-we-there-yet@1.1.2
| | | `-- delegates@1.0.0
| | +-- console-control-strings@1.1.0
| | +-- gauge@2.6.0
| | | +-- has-color@0.1.7
| | | +-- object-assign@4.1.0
| | | +-- signal-exit@3.0.0
| | | +-- string-width@1.0.2
| | | | +-- code-point-at@1.0.0
| | | | | `-- number-is-nan@1.0.0
| | | | `-- is-fullwidth-code-point@1.0.0
| | | | `-- number-is-nan@1.0.0
| | | `-- wide-align@1.1.0
| | `-- set-blocking@2.0.0
| +-- once@1.4.0
| +-- opener@1.4.2
| +-- osenv@0.1.3
| | +-- os-homedir@1.0.1
| | `-- os-tmpdir@1.0.1
| +-- path-is-inside@1.0.2
| +-- read@1.0.7
| | `-- mute-stream@0.0.5
| +-- read-cmd-shim@1.0.1
| +-- read-installed@4.0.3
| | `-- util-extend@1.0.3
| +-- read-package-json@2.0.4
| | +-- glob@6.0.4
| | | +-- minimatch@3.0.3
| | | | `-- brace-expansion@1.1.6
| | | | +-- balanced-match@0.4.2
| | | | `-- concat-map@0.0.1
| | | `-- path-is-absolute@1.0.0
| | `-- json-parse-helpfulerror@1.0.3
| | `-- jju@1.3.0
| +-- read-package-tree@5.1.5
| +-- readable-stream@2.1.5
| | +-- buffer-shims@1.0.0
| | +-- core-util-is@1.0.2
| | +-- isarray@1.0.0
| | +-- process-nextick-args@1.0.7
| | +-- string_decoder@0.10.31
| | `-- util-deprecate@1.0.2
| +-- readdir-scoped-modules@1.0.2
| +-- realize-package-specifier@3.0.3
| +-- request@2.75.0
| | +-- aws-sign2@0.6.0
| | +-- aws4@1.4.1
| | +-- bl@1.1.2
| | | `-- readable-stream@2.0.6
| | | +-- core-util-is@1.0.2
| | | +-- isarray@1.0.0
| | | +-- process-nextick-args@1.0.7
| | | +-- string_decoder@0.10.31
| | | `-- util-deprecate@1.0.2
| | +-- caseless@0.11.0
| | +-- combined-stream@1.0.5
| | | `-- delayed-stream@1.0.0
| | +-- extend@3.0.0
| | +-- forever-agent@0.6.1
| | +-- form-data@2.0.0
| | | `-- asynckit@0.4.0
| | +-- har-validator@2.0.6
| | | +-- chalk@1.1.3
| | | | +-- ansi-styles@2.2.1
| | | | +-- escape-string-regexp@1.0.5
| | | | +-- has-ansi@2.0.0
| | | | `-- supports-color@2.0.0
| | | +-- commander@2.9.0
| | | | `-- graceful-readlink@1.0.1
| | | +-- is-my-json-valid@2.15.0
| | | | +-- generate-function@2.0.0
| | | | +-- generate-object-property@1.2.0
| | | | | `-- is-property@1.0.2
| | | | +-- jsonpointer@4.0.0
| | | | `-- xtend@4.0.1
| | | `-- pinkie-promise@2.0.1
| | | `-- pinkie@2.0.4
| | +-- hawk@3.1.3
| | | +-- boom@2.10.1
| | | +-- cryptiles@2.0.5
| | | +-- hoek@2.16.3
| | | `-- sntp@1.0.9
| | +-- http-signature@1.1.1
| | | +-- assert-plus@0.2.0
| | | +-- jsprim@1.3.1
| | | | +-- extsprintf@1.0.2
| | | | +-- json-schema@0.2.3
| | | | `-- verror@1.3.6
| | | `-- sshpk@1.10.1
| | | +-- asn1@0.2.3
| | | +-- assert-plus@1.0.0
| | | +-- bcrypt-pbkdf@1.0.0
| | | +-- dashdash@1.14.0
| | | +-- ecc-jsbn@0.1.1
| | | +-- getpass@0.1.6
| | | +-- jodid25519@1.0.2
| | | +-- jsbn@0.1.0
| | | `-- tweetnacl@0.14.3
| | +-- is-typedarray@1.0.0
| | +-- isstream@0.1.2
| | +-- json-stringify-safe@5.0.1
| | +-- mime-types@2.1.12
| | | `-- mime-db@1.24.0
| | +-- node-uuid@1.4.7
| | +-- oauth-sign@0.8.2
| | +-- qs@6.2.1
| | +-- stringstream@0.0.5
| | +-- tough-cookie@2.3.1
| | `-- tunnel-agent@0.4.3
| +-- retry@0.10.0
| +-- rimraf@2.5.4
| +-- semver@5.3.0
| +-- sha@2.0.1
| +-- slide@1.1.6
| +-- sorted-object@2.0.1
| +-- strip-ansi@3.0.1
| +-- tar@2.2.1
| | `-- block-stream@0.0.8
| +-- text-table@0.2.0
| +-- uid-number@0.0.6
| +-- umask@1.1.0
| +-- unique-filename@1.1.0
| | `-- unique-slug@2.0.0
| +-- unpipe@1.0.0
| +-- validate-npm-package-license@3.0.1
| | +-- spdx-correct@1.0.2
| | | `-- spdx-license-ids@1.2.0
| | `-- spdx-expression-parse@1.0.2
| | +-- spdx-exceptions@1.0.4
| | `-- spdx-license-ids@1.2.0
| +-- validate-npm-package-name@2.2.2
| | `-- builtins@0.0.7
| +-- which@1.2.11
| | `-- isexe@1.1.2
| +-- wrappy@1.0.2
| `-- write-file-atomic@1.2.0
+-- only@0.0.2
+-- open@0.0.5
`-- request@2.81.0
+-- aws-sign2@0.6.0
+-- aws4@1.6.0
+-- caseless@0.12.0
+-- combined-stream@1.0.5
| `-- delayed-stream@1.0.0
+-- forever-agent@0.6.1
+-- form-data@2.1.4
| `-- asynckit@0.4.0
+-- har-validator@4.2.1
| +-- ajv@4.11.8
| | +-- co@4.6.0
| | `-- json-stable-stringify@1.0.1
| | `-- jsonify@0.0.0
| `-- har-schema@1.0.5
+-- hawk@3.1.3
| +-- boom@2.10.1
| +-- cryptiles@2.0.5
| +-- hoek@2.16.3
| `-- sntp@1.0.9
+-- http-signature@1.1.1
| +-- assert-plus@0.2.0
| +-- jsprim@1.4.1
| | +-- assert-plus@1.0.0
| | +-- extsprintf@1.3.0
| | +-- json-schema@0.2.3
| | `-- verror@1.10.0
| | +-- assert-plus@1.0.0
| | `-- core-util-is@1.0.2
| `-- sshpk@1.13.1
| +-- asn1@0.2.3
| +-- assert-plus@1.0.0
| +-- bcrypt-pbkdf@1.0.1
| +-- dashdash@1.14.1
| | `-- assert-plus@1.0.0
| +-- ecc-jsbn@0.1.1
| +-- getpass@0.1.7
| | `-- assert-plus@1.0.0
| +-- jsbn@0.1.1
| `-- tweetnacl@0.14.5
+-- is-typedarray@1.0.0
+-- isstream@0.1.2
+-- json-stringify-safe@5.0.1
+-- mime-types@2.1.17
| `-- mime-db@1.30.0
+-- oauth-sign@0.8.2
+-- performance-now@0.2.0
+-- qs@6.4.0
+-- safe-buffer@5.1.1
+-- stringstream@0.0.5
+-- tough-cookie@2.3.2
| `-- punycode@1.4.1
+-- tunnel-agent@0.6.0
`-- uuid@3.1.0 C:\Users\zhongzh>
C:\Users\zhongzh>npm install -g npm@2
[ ..............] \ loadRequestedDeps: sill install loadAllDepsIntoIdealTree
C:\Users\zhongzh>npm install -g npm@2
C:\Users\zhongzh\AppData\Roaming\npm\npm -> C:\Users\zhongzh\AppData\Roaming\npm
\node_modules\npm\bin\npm-cli.js
C:\Users\zhongzh\AppData\Roaming\npm
`-- npm@2.15.12
+-- abbrev@1.0.9
+-- ansi@0.3.1
+-- ansi-regex@2.0.0
+-- ansicolors@0.3.2
+-- ansistyles@0.1.3
+-- archy@1.0.0
+-- async-some@1.0.2
+-- block-stream@0.0.9
+-- char-spinner@1.0.1
+-- chmodr@1.0.2
+-- chownr@1.0.1
+-- cmd-shim@2.0.2
+-- columnify@1.5.4
| `-- wcwidth@1.0.0
| `-- defaults@1.0.3
| `-- clone@1.0.2
+-- config-chain@1.1.10
| `-- proto-list@1.2.4
+-- dezalgo@1.0.3
| `-- asap@2.0.3
+-- editor@1.0.0
+-- fs-vacuum@1.2.9
+-- fs-write-stream-atomic@1.0.8
| `-- iferr@0.1.5
+-- fstream@1.0.10
+-- fstream-npm@1.1.1
| `-- fstream-ignore@1.0.5
+-- github-url-from-git@1.4.0
+-- github-url-from-username-repo@1.0.2
+-- glob@7.0.6
| +-- fs.realpath@1.0.0
| `-- path-is-absolute@1.0.0
+-- graceful-fs@4.1.6
+-- hosted-git-info@2.1.5
+-- imurmurhash@0.1.4
+-- inflight@1.0.5
+-- inherits@2.0.3
+-- ini@1.3.4
+-- init-package-json@1.9.4
| +-- glob@6.0.4
| | `-- path-is-absolute@1.0.0
| `-- promzard@0.3.0
+-- lockfile@1.0.1
+-- lru-cache@4.0.1
| +-- pseudomap@1.0.2
| `-- yallist@2.0.0
+-- minimatch@3.0.3
| `-- brace-expansion@1.1.6
| +-- balanced-match@0.4.2
| `-- concat-map@0.0.1
+-- mkdirp@0.5.1
| `-- minimist@0.0.8
+-- node-gyp@3.6.0
| `-- semver@5.3.0
+-- nopt@3.0.6
+-- normalize-git-url@3.0.2
+-- normalize-package-data@2.3.5
| `-- is-builtin-module@1.0.0
| `-- builtin-modules@1.1.0
+-- npm-cache-filename@1.0.2
+-- npm-install-checks@1.0.7
+-- npm-package-arg@4.1.0
+-- npm-registry-client@7.2.1
| +-- concat-stream@1.5.2
| | +-- readable-stream@2.0.6
| | | +-- core-util-is@1.0.2
| | | +-- isarray@1.0.0
| | | +-- process-nextick-args@1.0.7
| | | +-- string_decoder@0.10.31
| | | `-- util-deprecate@1.0.2
| | `-- typedarray@0.0.6
| `-- retry@0.10.0
+-- npm-user-validate@0.1.5
+-- npmlog@2.0.4
| +-- are-we-there-yet@1.1.2
| | `-- delegates@1.0.0
| `-- gauge@1.2.7
| +-- has-unicode@2.0.0
| +-- lodash.pad@4.4.0
| | +-- lodash._baseslice@4.0.0
| | +-- lodash._basetostring@4.12.0
| | `-- lodash.tostring@4.1.4
| +-- lodash.padend@4.5.0
| `-- lodash.padstart@4.5.0
+-- once@1.4.0
+-- opener@1.4.1
+-- osenv@0.1.3
| +-- os-homedir@1.0.0
| `-- os-tmpdir@1.0.1
+-- path-is-inside@1.0.1
+-- read@1.0.7
| `-- mute-stream@0.0.5
+-- read-installed@4.0.3
| +-- debuglog@1.0.1
| +-- readdir-scoped-modules@1.0.2
| `-- util-extend@1.0.1
+-- read-package-json@2.0.4
| +-- glob@6.0.4
| | `-- path-is-absolute@1.0.0
| `-- json-parse-helpfulerror@1.0.3
| `-- jju@1.3.0
+-- readable-stream@2.1.5
| +-- buffer-shims@1.0.0
| +-- core-util-is@1.0.2
| +-- isarray@1.0.0
| +-- process-nextick-args@1.0.7
| +-- string_decoder@0.10.31
| `-- util-deprecate@1.0.2
+-- realize-package-specifier@3.0.1
+-- request@2.74.0
| +-- aws-sign2@0.6.0
| +-- aws4@1.4.1
| +-- bl@1.1.2
| | `-- readable-stream@2.0.6
| | +-- core-util-is@1.0.2
| | +-- isarray@1.0.0
| | +-- process-nextick-args@1.0.7
| | +-- string_decoder@0.10.31
| | `-- util-deprecate@1.0.2
| +-- caseless@0.11.0
| +-- combined-stream@1.0.5
| | `-- delayed-stream@1.0.0
| +-- extend@3.0.0
| +-- forever-agent@0.6.1
| +-- form-data@1.0.0-rc4
| | `-- async@1.5.2
| +-- har-validator@2.0.6
| | +-- chalk@1.1.3
| | | +-- ansi-styles@2.2.1
| | | +-- escape-string-regexp@1.0.5
| | | +-- has-ansi@2.0.0
| | | `-- supports-color@2.0.0
| | +-- commander@2.9.0
| | | `-- graceful-readlink@1.0.1
| | +-- is-my-json-valid@2.13.1
| | | +-- generate-function@2.0.0
| | | +-- generate-object-property@1.2.0
| | | | `-- is-property@1.0.2
| | | +-- jsonpointer@2.0.0
| | | `-- xtend@4.0.1
| | `-- pinkie-promise@2.0.1
| | `-- pinkie@2.0.4
| +-- hawk@3.1.3
| | +-- boom@2.10.1
| | +-- cryptiles@2.0.5
| | +-- hoek@2.16.3
| | `-- sntp@1.0.9
| +-- http-signature@1.1.1
| | +-- assert-plus@0.2.0
| | +-- jsprim@1.3.0
| | | +-- extsprintf@1.0.2
| | | +-- json-schema@0.2.2
| | | `-- verror@1.3.6
| | `-- sshpk@1.9.2
| | +-- asn1@0.2.3
| | +-- assert-plus@1.0.0
| | +-- dashdash@1.14.0
| | +-- ecc-jsbn@0.1.1
| | +-- getpass@0.1.6
| | +-- jodid25519@1.0.2
| | +-- jsbn@0.1.0
| | `-- tweetnacl@0.13.3
| +-- is-typedarray@1.0.0
| +-- isstream@0.1.2
| +-- json-stringify-safe@5.0.1
| +-- mime-types@2.1.11
| | `-- mime-db@1.23.0
| +-- node-uuid@1.4.7
| +-- oauth-sign@0.8.2
| +-- qs@6.2.1
| +-- stringstream@0.0.5
| +-- tough-cookie@2.3.1
| `-- tunnel-agent@0.4.3
+-- retry@0.10.0
+-- rimraf@2.5.4
+-- semver@5.1.0
+-- sha@2.0.1
| `-- readable-stream@2.0.2
| +-- core-util-is@1.0.1
| +-- isarray@0.0.1
| +-- process-nextick-args@1.0.3
| +-- string_decoder@0.10.31
| `-- util-deprecate@1.0.1
+-- slide@1.1.6
+-- sorted-object@2.0.0
+-- spdx-license-ids@1.2.2
+-- strip-ansi@3.0.1
+-- tar@2.2.1
+-- text-table@0.2.0
+-- uid-number@0.0.6
+-- umask@1.1.0
+-- validate-npm-package-license@3.0.1
| +-- spdx-correct@1.0.2
| `-- spdx-expression-parse@1.0.2
| `-- spdx-exceptions@1.0.4
+-- validate-npm-package-name@2.2.2
| `-- builtins@0.0.7
+-- which@1.2.11
| `-- isexe@1.1.2
+-- wrappy@1.0.2
`-- write-file-atomic@1.1.4 C:\Users\zhongzh>
6. 启动Linux虚拟机,以root用户登录,因为后面的操作需要root用户的权限。打开终端窗口,输入”df -h”,查看文件系统。如下图所示,可以看到在我的虚拟机中/的大小为20G,可用容量为0M,本次扩展硬盘的目标就是增加/目录的大小,注意文件分区为/dev/sda1,后面的操作主要是针对该分区进行的。
7. 下面执行fdisk –l命令,查看硬盘分区情况,可以发现硬盘空间确实已经扩展了到了40G。
8. 现在对硬盘/dev/sda进行硬盘操作,执行命令fdisk /dev/sda,在command后输入d(删除分区的命令),然后输入需要删除分区的号码,此处输入要删除的分区3,执行完毕后输入p,查看硬盘分区情况,/dev/sda3已经删除掉了。
11. 若Linux安装了桌面应用程序的话,也可以使用图形化的磁盘实用工具,在此以分配swap分区为例,简要介绍一下。在应用程序中选择磁盘实用工具,打开如下图所示的界面,点击左侧最下方的硬盘,在右侧选择空闲空间,点击下方的创建分区,选择分区大小,类型后,点击创建按钮,完成分区的创建。
还是参考这篇文章吧
clone成功后:
Reactive Native开发环境搭建的更多相关文章
- Android React Native 开发环境搭建---windows下
环境搭建 环境搭建可以参考RN官网,也可以参考中文版本:http://reactnative.cn/docs/0.45/getting-started.html 如果你希望可以看到原版的安装流程,可以 ...
- React Native开发环境搭建
安装Xcode 安装Homebrew 安装Android SDK 安装flow和watchman 安装nodejs 安装react-native-cli 安装Genymotion 安装Webstorm ...
- win10的react native 开发环境搭建,使用Android模拟器
1.打开cmd的管理员模式,win+X,选择命令提示符(管理员)即可,运行如下命令: @"%SystemRoot%\System32\WindowsPowerShell\v1.0\power ...
- React Native 开发环境搭建
1.安装 Python 2,不知道是否已支持 Python 3 2.安装 node,npm... 修改 npm 镜像,不建议使用 cnpm,cnpm 安装模块的路径与 npm 有差别 npm conf ...
- Window平台下React Native 开发环境搭建
1. 安装Node.js 2. 安装react-native-cli 命令行工具 npm install -g react-nativew-cli 3. 创建项目 $ react-native ini ...
- React Native的环境搭建以及开发的IDE
(一)前言 前面的课程我们已经对React Native的环境搭建以及开发的IDE做了相关的讲解,今天我们的主要讲解的是应用设备运行(Running)以及调试方法(Debugging).本节的前提条件 ...
- React Native开发 - 搭建React Native开发环境
移动开发以前一般都是原生的语言来开发,Android开发是用Java语言,IOS的开发是Object-C或者Swift.那么对于开发一个App,至少需要两套代码.两个团队.对于公司来说,成本还是有的. ...
- 搭建React Native开发环境
搭建React Native开发环境 本文档是Mac下搭建的环境,针对的目标平台不同,以及开发 iOS 和 Android 的不同,环境搭建也有差异. Github地址:https://github. ...
- 搭建基本的React Native开发环境
步骤如下: 1.安装HomeBrew,命令如下: 在终端输入命令:$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Home ...
随机推荐
- 初学JSP_内置对象
out内置对象: 表单,表单常用的的提交方式
- java主要集合类的数据结构
1).ArrayList ArrayList维护着一个对象数组.如果调用new ArrayList()后,它会默认初始一个size=10的数组. 每次add操作都要检查数组容量,如果不够,重新 ...
- servlet学习总结(一)——HttpServletRequest(转载)
原文地址:http://www.cnblogs.com/xdp-gacl/p/3798347.html 一.HttpServletRequest介绍 HttpServletRequest对象代表客户端 ...
- centos 7 配置nginx
安装nginx: curl -o nginx.rpm http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0. ...
- MySQL操作数据库和表的基本语句(DDL
1.创建数据库: CREATE DATABASE 数据库名; eg.CREATE DATABASE test_ddl;122.创建表 CREATE TABLE 表名(列名 数据类型 约束,...); ...
- bootstrap table 生成的表格里动态添加HTML元素按钮,JS中添加点击事件,点击没反应---解决办法
bootstraptable中onExpandRow属性---js 方法添加的 html代码,然后给这代码里面的 元素 添加 事件,却获取不该元素.(称之为未来元素),由于是未来的 所以现在没有这个 ...
- The JVM Architecture Explained
转自:https://dzone.com/articles/jvm-architecture-explained?oid=18544920 Every Java developer knows tha ...
- 阅读《JavaScript设计模式》第一章心得
1.明白自己 明白了自己写的代码为什么难懂且臃肿,不方便阅读且效率低.最主要的是为什么整套流程下来只能我一个人写,因为这样的代码根本没有团队力,协同能力差.对js理解的不过透彻. 2.真正的学会对象与 ...
- 洛谷——P2341 [HAOI2006]受欢迎的牛//POJ2186:Popular Cows
P2341 [HAOI2006]受欢迎的牛/POJ2186:Popular Cows 题目背景 本题测试数据已修复. 题目描述 每头奶牛都梦想成为牛棚里的明星.被所有奶牛喜欢的奶牛就是一头明星奶牛.所 ...
- 39.date hitogram基础知识
主要知识点: date hitogram之统计每月电视销量 上一节讲到histogram,他是以数值进行分组.本节讲到以日期进行bucket分组操作,也就是说把连续的日期变成离散的日期区间,然 ...