首页 > 技术文章 > 【安装命令行】React

codepen2010 2017-05-09 21:27 原文

Last login: Tue May  9 20:39:16 on ttys000

appledeMacBook-Pro:~ apple$ npm install -g create-react-app

/usr/local/bin/create-react-app -> /usr/local/lib/node_modules/create-react-app/index.js

/usr/local/lib

 

chalk@1.1.3 

ansi-styles@2.2.1 

escape-string-regexp@1.0.5 

has-ansi@2.0.0 

ansi-regex@2.1.1 

strip-ansi@3.0.1 

supports-color@2.0.0 

commander@2.9.0 

graceful-readlink@1.0.1 

cross-spawn@4.0.2 

lru-cache@4.0.2 

pseudomap@1.0.2 

yallist@2.1.2 

which@1.2.14 

  │   └── isexe@2.0.0 

fs-extra@1.0.0 

graceful-fs@4.1.11 

jsonfile@2.4.0 

klaw@1.3.1 

hyperquest@2.1.2 

buffer-from@0.1.1 

is-array-buffer-x@1.2.1 

has-to-string-tag-x@1.2.0 

has-symbol-support-x@1.2.0 

is-object-like-x@1.2.0 

is-function-x@1.2.0 

is-primitive@2.0.0 

to-string-tag-x@1.2.0 

lodash.isnull@3.0.0 

validate.io-undefined@1.0.3 

duplexer2@0.0.2 

readable-stream@1.1.14 

  │ │   ├── isarray@0.0.1 

string_decoder@0.10.31 

through2@0.6.5 

readable-stream@1.0.34 

  │   └── xtend@4.0.1 

semver@5.3.0 

tar-pack@3.4.0 

debug@2.6.6 

  │ │ └── ms@0.7.3 

fstream@1.0.11 

inherits@2.0.3 

mkdirp@0.5.1 

minimist@0.0.8 

fstream-ignore@1.0.5 

minimatch@3.0.4 

brace-expansion@1.1.7 

balanced-match@0.4.2 

concat-map@0.0.1 

once@1.4.0 

wrappy@1.0.2 

readable-stream@2.2.9 

buffer-shims@1.0.0 

core-util-is@1.0.2 

isarray@1.0.0 

process-nextick-args@1.0.7 

string_decoder@1.0.0 

util-deprecate@1.0.2 

rimraf@2.6.1 

  │ │ └─┬ glob@7.1.1 

fs.realpath@1.0.0 

inflight@1.0.6 

path-is-absolute@1.0.1 

  │ ├─┬ tar@2.2.1 

block-stream@0.0.9 

uid-number@0.0.6 

tmp@0.0.31 

os-tmpdir@1.0.2 

validate-npm-package-name@3.0.0 

builtins@1.0.3 

 

appledeMacBook-Pro:~ apple$ create-react-app my-app

Creating a new React app in /Users/apple/my-app.

 

Installing packages. This might take a couple minutes.

Installing react, react-dom, and react-scripts...

 

yarn add v0.22.0

info No lockfile found.

[1/4]

推荐阅读