无法在我的计算机上安装React App

时间:2019-05-30 11:47:10

标签: reactjs create-react-app

我无法在我的电脑上安装React App。 cmd screenshot

这是屏幕截图。我该怎么办? 我重新安装了Node JS,重新启动到我的计算机,检查了PATH和JAVA_HOME环境等。但是无论如何我都没有安装。

>  C:\Windows\system32>npm install -g create-react-app
>     npm WARN engine create-react-app@3.0.1: wanted: {"node":">=8"} (current: {"node":"0.12.2","npm":"2.7.4"})
>     npm WARN engine cross-spawn@6.0.5: wanted: {"node":">=4.8"} (current: {"node":"0.12.2","npm":"2.7.4"})
>     npm WARN engine fs-extra@7.0.1: wanted: {"node":">=6 <7 || >=8"} (current: {"node":"0.12.2","npm":"2.7.4"})
>     npm WARN engine inquirer@6.2.2: wanted: {"node":">=6.0.0"} (current: {"node":"0.12.2","npm":"2.7.4"})
>     npm WARN engine chalk@2.4.2: wanted: {"node":">=4"} (current: {"node":"0.12.2","npm":"2.7.4"})
>     npm WARN engine envinfo@7.1.0: wanted: {"node":">=4"} (current: {"node":"0.12.2","npm":"2.7.4"})
>     npm WARN engine supports-color@5.5.0: wanted: {"node":">=4"} (current: {"node":"0.12.2","npm":"2.7.4"})
>     npm WARN engine ansi-styles@3.2.1: wanted: {"node":">=4"} (current: {"node":"0.12.2","npm":"2.7.4"})
>     npm WARN engine path-key@2.0.1: wanted: {"node":">=4"} (current: {"node":"0.12.2","npm":"2.7.4"})
>     npm WARN engine has-flag@3.0.0: wanted: {"node":">=4"} (current: {"node":"0.12.2","npm":"2.7.4"})
>     npm WARN engine figures@2.0.0: wanted: {"node":">=4"} (current: {"node":"0.12.2","npm":"2.7.4"})
>     npm WARN engine cli-cursor@2.1.0: wanted: {"node":">=4"} (current: {"node":"0.12.2","npm":"2.7.4"})
>     npm WARN engine string-width@2.1.1: wanted: {"node":">=4"} (current: {"node":"0.12.2","npm":"2.7.4"})
>     npm WARN engine ansi-escapes@3.2.0: wanted: {"node":">=4"} (current: {"node":"0.12.2","npm":"2.7.4"})
>     npm WARN engine external-editor@3.0.3: wanted: {"node":">=4"} (current: {"node":"0.12.2","npm":"2.7.4"})
>     npm WARN engine strip-ansi@5.2.0: wanted: {"node":">=6"} (current: {"node":"0.12.2","npm":"2.7.4"})
>     npm WARN engine universalify@0.1.2: wanted: {"node":">= 4.0.0"} (current: {"node":"0.12.2","npm":"2.7.4"})
>     npm WARN engine restore-cursor@2.0.0: wanted: {"node":">=4"} (current: {"node":"0.12.2","npm":"2.7.4"})
>     npm WARN engine strip-ansi@4.0.0: wanted: {"node":">=4"} (current: {"node":"0.12.2","npm":"2.7.4"})
>     npm WARN engine is-fullwidth-code-point@2.0.0: wanted: {"node":">=4"} (current: {"node":"0.12.2","npm":"2.7.4"})
>     npm WARN engine ansi-regex@4.1.0: wanted: {"node":">=6"} (current: {"node":"0.12.2","npm":"2.7.4"})
>     npm WARN engine ansi-regex@3.0.0: wanted: {"node":">=4"} (current: {"node":"0.12.2","npm":"2.7.4"})
>     npm WARN engine onetime@2.0.1: wanted: {"node":">=4"} (current: {"node":"0.12.2","npm":"2.7.4"})
>     npm WARN engine mimic-fn@1.2.0: wanted: {"node":">=4"} (current: {"node":"0.12.2","npm":"2.7.4"})
>     C:\Users\Cagkan\AppData\Roaming\npm\create-react-app -> C:\Users\Cagkan\AppData\Roaming\npm\node_modules\create-react-app\index.js
>     create-react-app@3.0.1 C:\Users\Cagkan\AppData\Roaming\npm\node_modules\create-react-app
>     ├── commander@2.19.0
>     ├── semver@6.0.0
>     ├── tmp@0.0.33 (os-tmpdir@1.0.2)
>     ├── validate-npm-package-name@3.0.0 (builtins@1.0.3)
>     ├── envinfo@7.1.0
>     ├── cross-spawn@6.0.5 (path-key@2.0.1, nice-try@1.0.5, shebang-command@1.2.0, semver@5.7.0, which@1.3.1)
>     ├── chalk@2.4.2 (escape-string-regexp@1.0.5, supports-color@5.5.0, ansi-styles@3.2.1)
>     ├── fs-extra@7.0.1 (universalify@0.1.2, jsonfile@4.0.0, graceful-fs@4.1.15)
>     ├── hyperquest@2.1.3 (buffer-from@0.1.2, through2@0.6.5, duplexer2@0.0.2)
>     ├── tar-pack@3.4.1 (uid-number@0.0.6, once@1.4.0, debug@2.6.9, fstream-ignore@1.0.5, readable-stream@2.3.6, rimraf@2.6.3,
> fstream@1.0.12, tar@2.2.2)
>     └── inquirer@6.2.2 (ansi-escapes@3.2.0, cli-width@2.2.0, figures@2.0.0, strip-ansi@5.2.0, run-async@2.3.0, string-width@2.1.1,
> through@2.3.8, mute-stream@0.0.7, cli-cursor@2.1.0,
> external-editor@3.0.3, lodash@4.17.11, rxjs@6.5.2)

0 个答案:

没有答案