expo / create-react-native-app

Create React Native apps that run on iOS, Android, and web
BSD 3-Clause "New" or "Revised" License
13.26k stars 1.35k forks source link

"Failed to install" trying to create AwesomeProject #433

Closed rcdarwin closed 7 years ago

rcdarwin commented 7 years ago

Please make our job easier by filling this template out to completion. If you're requesting a feature instead of reporting a bug, please feel free to skip the Environment and Reproducible Demo sections.

Description

I received the message "Failed to install" when I tried to create the AwesomeProject as described in the Getting Started docs for React Native.

Expected Behavior

create-react-native-app AwesomeProject

I expected it to create the CRNA starter project.

Observed Behavior

I received a "Failed to install" message. Error log:

yarn-error.log

If there's an error message, please paste the full terminal output and error message in this code block:

$ create-react-native-app AwesomeProject
Creating a new React Native app in C:\Users\b014315\Projects\AwesomeProject.

Using package manager as yarnpkg with yarn interface.
Installing packages. This might take a couple minutes.
Installing react-native-scripts...

yarn add v0.16.1
info No lockfile found.
[1/4] Resolving packages...
warning react-native-scripts > xdl > auth0-js > xtend > object-keys@0.4.0:
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning Unmet peer dependency "react@^0.14.0 || ^15.0.0-0 || ^16.0.0-0".
[4/4] Building fresh packages...
success Saved lockfile.
success Saved 394 new dependencies.
├─ @expo/bunyan@1.8.10
├─ @expo/json-file@5.3.0
├─ @expo/osascript@1.8.0
├─ @expo/schemer@1.0.44
│  ├─ file-type@5.2.0
│  └─ instapromise@2.0.7
├─ @expo/spawn-async@1.3.0
├─ @segment/loosely-validate-event@1.1.2
├─ accepts@1.3.4
├─ agent-base@2.1.1
│  └─ semver@5.0.3
├─ ajv@5.2.3
├─ analytics-node@2.4.1
├─ ansi-escapes@3.0.0
├─ ansi-regex@3.0.0
├─ ansi-styles@3.2.0
├─ any-promise@1.3.0
├─ array-flatten@1.1.1
├─ asap@2.0.6
├─ asn1@0.2.3
├─ assert-plus@1.0.0
├─ ast-types@0.9.14
├─ async@1.5.2
├─ asynckit@0.4.0
├─ auth0-js@7.6.1
│  ├─ object-keys@0.4.0
│  └─ xtend@2.1.2
├─ auth0@2.8.0
│  └─ bluebird@2.11.0
├─ aws-sign2@0.7.0
├─ aws4@1.6.0
├─ babel-plugin-syntax-flow@6.18.0
├─ babel-plugin-transform-flow-strip-types@6.22.0
├─ babel-polyfill@6.26.0
│  └─ regenerator-runtime@0.10.5
├─ babel-preset-flow@6.23.0
├─ babel-runtime@6.26.0
├─ balanced-match@1.0.0
├─ Base64@0.1.4
├─ base64url@2.0.0
├─ block-stream@0.0.9
├─ bluebird@3.5.1
├─ body-parser@1.18.2
├─ boom@4.3.1
├─ brace-expansion@1.1.8
├─ buffer-equal-constant-time@1.0.1
├─ bytes@3.0.0
├─ callsite@1.0.0
├─ camel-case@1.2.2
├─ caseless@0.12.0
├─ chalk@2.1.0
├─ change-case@2.3.1
├─ cli-cursor@2.1.0
├─ cli-width@2.2.0
├─ clone@2.1.1
├─ co@4.6.0
├─ color-convert@1.9.0
├─ color-name@1.1.3
├─ combined-stream@1.0.5
├─ commander@2.11.0
├─ component-emitter@1.2.1
├─ component-type@1.2.1
├─ concat-map@0.0.1
├─ constant-case@1.1.2
├─ content-disposition@0.5.2
├─ content-type@1.0.4
├─ cookie-signature@1.0.6
├─ cookie@0.3.1
├─ cookiejar@2.1.1
├─ core-js@2.5.1
├─ core-util-is@1.0.2
├─ cross-spawn@5.1.0
├─ cryptiles@3.1.2
│  └─ boom@5.2.0
├─ crypto-token@1.0.1
├─ dashdash@1.14.1
├─ data-uri-to-buffer@1.2.0
├─ debug@2.6.9
├─ decache@4.1.0
├─ decompress-response@3.3.0
├─ deep-diff@0.3.4
├─ deep-is@0.1.3
├─ deepmerge@1.5.2
├─ define-properties@1.1.2
├─ degenerator@1.0.4
├─ delay-async@1.1.0
├─ delayed-stream@1.0.0
├─ depd@1.1.1
├─ destroy@1.0.4
├─ dot-case@1.1.2
├─ duplexer3@0.1.4
├─ ecdsa-sig-formatter@1.0.9
├─ ee-first@1.1.1
├─ encodeurl@1.0.1
├─ encoding@0.1.12
├─ es6-error@4.0.2
├─ es6-promise@4.1.1
├─ es6-promisify@5.0.0
├─ escape-html@1.0.3
├─ escape-string-regexp@1.0.5
├─ escodegen@1.9.0
├─ esprima@3.1.3
├─ estraverse@4.2.0
├─ esutils@2.0.2
├─ etag@1.8.1
├─ exec-async@2.2.0
├─ exists-async@2.0.0
├─ express@4.16.2
├─ extend@3.0.1
├─ external-editor@2.0.5
├─ extsprintf@1.3.0
├─ fast-deep-equal@1.0.0
├─ fast-levenshtein@2.0.6
├─ fbjs@0.8.16
│  └─ core-js@1.2.7
├─ figures@2.0.0
├─ file-type@4.4.0
├─ file-uri-to-path@1.0.0
├─ finalhandler@1.1.0
├─ foreach@2.0.5
├─ forever-agent@0.6.1
├─ form-data@2.3.1
├─ formidable@1.1.1
├─ forwarded@0.1.2
├─ freeport-async@1.1.1
├─ fresh@0.5.2
├─ fs-extra@3.0.1
│  └─ jsonfile@3.0.1
├─ fs.realpath@1.0.0
├─ fstream@1.0.11
├─ ftp@0.3.10
│  ├─ isarray@0.0.1
│  ├─ readable-stream@1.1.14
│  └─ string_decoder@0.10.31
├─ function-bind@1.1.1
├─ get-stream@3.0.0
├─ get-uri@2.0.1
├─ getpass@0.1.7
├─ glob@7.1.2
├─ got@7.1.0
├─ graceful-fs@4.1.11
├─ har-schema@2.0.0
├─ har-validator@5.0.3
├─ has-flag@2.0.0
├─ has-symbol-support-x@1.4.1
├─ has-to-string-tag-x@1.4.1
├─ hasbin@1.2.3
├─ hawk@6.0.2
├─ hoek@4.2.0
├─ hoist-non-react-statics@2.3.1
├─ home-dir@1.0.0
├─ http-errors@1.6.2
│  └─ setprototypeof@1.0.3
├─ http-proxy-agent@1.0.0
├─ http-signature@1.2.0
├─ https-proxy-agent@1.0.0
├─ iconv-lite@0.4.19
├─ indent-string@3.2.0
├─ inflight@1.0.6
├─ inherits@2.0.3
├─ inquirer@3.3.0
├─ instapromise@2.0.7-rc.1
├─ invariant@2.2.2
├─ ip@1.1.5
├─ ipaddr.js@1.5.2
├─ is-fullwidth-code-point@2.0.0
├─ is-lower-case@1.1.3
├─ is-object@1.0.1
├─ is-plain-obj@1.1.0
├─ is-promise@2.1.0
├─ is-retry-allowed@1.1.0
├─ is-stream@1.1.0
├─ is-typedarray@1.0.0
├─ is-upper-case@1.1.2
├─ isarray@1.0.0
├─ isemail@2.2.1
├─ isexe@2.0.0
├─ isomorphic-fetch@2.2.1
├─ isstream@0.1.2
├─ isurl@1.0.0
├─ items@2.1.1
├─ joi@10.6.0
├─ join-component@1.1.0
├─ js-tokens@3.0.2
├─ jschardet@1.5.1
├─ json-fallback@0.0.1
├─ json-schema-traverse@0.3.1
├─ json-schema@0.2.3
├─ json-stable-stringify@1.0.1
├─ json-stringify-safe@5.0.1
├─ json5@0.5.1
├─ jsonfile@2.4.0
├─ jsonify@0.0.0
├─ jsonp@0.0.4
│  └─ debug@3.1.0
├─ jsonschema@1.2.0
├─ jsonwebtoken@7.4.3
│  ├─ hoek@2.16.3
│  ├─ isemail@1.2.0
│  ├─ joi@6.10.1
│  └─ topo@1.1.0
├─ jsprim@1.4.1
├─ jwa@1.1.5
├─ jws@3.1.4
├─ klaw@1.3.1
├─ levn@0.3.0
├─ lock@0.1.4
├─ lodash-es@4.17.4
├─ lodash.once@4.1.1
├─ lodash@4.17.4
├─ loose-envify@1.3.1
├─ lower-case-first@1.0.2
├─ lower-case@1.1.4
├─ lowercase-keys@1.0.0
├─ lru-cache@4.1.1
├─ lru-memoizer@1.11.1
│  ├─ lodash@4.5.1
│  └─ lru-cache@4.0.2
├─ lsmod@1.0.0
├─ match-require@2.1.0
├─ md5hex@1.0.0
├─ media-typer@0.3.0
├─ merge-descriptors@1.0.1
├─ methods@1.1.2
├─ mime-db@1.30.0
├─ mime-types@2.1.17
├─ mime@1.4.1
├─ mimic-fn@1.1.0
├─ mimic-response@1.0.0
├─ minimatch@3.0.4
├─ minimist@1.2.0
├─ mkdirp-promise@5.0.1
├─ mkdirp@0.5.1
│  └─ minimist@0.0.8
├─ moment@2.19.1
├─ mout@0.11.1
├─ ms@2.0.0
├─ mute-stream@0.0.7
├─ mv@2.1.1
│  ├─ glob@6.0.4
│  └─ rimraf@2.4.5
├─ mz@2.7.0
├─ ncp@2.0.0
├─ negotiator@0.6.1
├─ netmask@1.0.6
├─ next-tick@1.0.0
├─ node-fetch@1.7.3
├─ oauth-sign@0.8.2
├─ object-assign@4.1.1
├─ object-keys@1.0.11
├─ object.assign@4.0.4
├─ on-finished@2.3.0
├─ once@1.4.0
├─ onetime@2.0.1
├─ opn@4.0.2
├─ optionator@0.8.2
├─ os-tmpdir@1.0.2
├─ p-cancelable@0.3.0
├─ p-finally@1.0.0
├─ p-timeout@1.2.0
├─ pac-proxy-agent@2.0.0
│  └─ socks-proxy-agent@3.0.1
│  │  └─ agent-base@4.1.1
├─ pac-resolver@3.0.0
├─ param-case@1.1.2
├─ parseurl@1.3.2
├─ pascal-case@1.1.2
├─ path-case@1.1.2
├─ path-exists@3.0.0
├─ path-is-absolute@1.0.1
├─ path-to-regexp@0.1.7
├─ performance-now@2.1.0
├─ pify@3.0.0
├─ pinkie-promise@2.0.1
├─ pinkie@2.0.4
├─ prelude-ls@1.1.2
├─ prepend-http@1.0.4
├─ probe-image-size@3.1.0
├─ process-nextick-args@1.0.7
├─ progress@2.0.0
├─ promise@7.3.1
├─ prop-types@15.6.0
├─ proxy-addr@2.0.2
├─ proxy-agent@2.1.0
│  └─ lru-cache@2.6.5
├─ pseudomap@1.0.2
├─ punycode@1.3.2
├─ qrcode-terminal@0.11.0
├─ qs@6.5.1
├─ querystring@0.2.0
├─ range-parser@1.2.0
├─ raven-js@3.18.1
├─ raven@2.2.1
│  └─ uuid@3.0.0
├─ raw-body@2.3.2
├─ react-native-scripts@1.5.0
├─ react-redux@5.0.6
├─ read-chunk@2.1.0
├─ readable-stream@2.3.3
├─ redux-logger@2.10.2
├─ redux@3.7.2
├─ regenerator-runtime@0.11.0
├─ remove-trailing-slash@0.1.0
├─ request-progress@3.0.0
├─ request@2.83.0
├─ reqwest@2.0.5
├─ rest-facade@1.10.0
│  └─ bluebird@2.11.0
├─ restore-cursor@2.0.0
├─ rimraf@2.6.2
├─ run-async@2.3.0
├─ rx-lite-aggregates@4.0.8
├─ rx-lite@4.0.8
├─ safe-buffer@5.1.1
├─ semver@5.4.1
├─ send@0.16.1
├─ sentence-case@1.1.3
├─ serve-static@1.13.1
├─ setimmediate@1.0.5
├─ setprototypeof@1.1.0
├─ shebang-command@1.2.0
├─ shebang-regex@1.0.0
├─ signal-exit@3.0.2
├─ slugid@1.1.0
│  └─ uuid@2.0.3
├─ slugify@1.2.1
├─ smart-buffer@1.1.15
├─ snake-case@1.1.2
├─ sntp@2.0.2
├─ socks-proxy-agent@2.1.1
├─ socks@1.1.10
├─ source-map-support@0.4.18
├─ source-map@0.5.7
├─ sshpk@1.13.1
├─ stack-trace@0.0.9
├─ statuses@1.3.1
├─ stream-parser@0.3.1
├─ string_decoder@1.0.3
├─ string-width@2.1.1
├─ stringstream@0.0.5
├─ strip-ansi@4.0.0
├─ superagent-proxy@1.0.2
├─ superagent-retry@0.6.0
├─ superagent@3.6.3
│  └─ debug@3.1.0
├─ supports-color@4.4.0
├─ swap-case@1.1.2
├─ symbol-observable@1.0.4
├─ tar.gz@1.0.5
│  └─ bluebird@2.11.0
├─ tar@2.2.1
├─ thenify-all@1.6.0
├─ thenify@3.3.0
├─ throttleit@1.0.0
├─ through@2.3.8
├─ thunkify@2.1.2
├─ timed-out@4.0.1
├─ title-case@1.1.2
├─ tmp@0.0.33
├─ topo@2.0.2
├─ tough-cookie@2.3.3
│  └─ punycode@1.4.1
├─ tree-kill@1.2.0
├─ trim@0.0.1
├─ tunnel-agent@0.6.0
├─ tweetnacl@0.14.5
├─ type-check@0.3.2
├─ type-is@1.6.15
├─ ua-parser-js@0.7.17
├─ universalify@0.1.1
├─ unpipe@1.0.0
├─ upper-case-first@1.1.2
├─ upper-case@1.1.3
├─ url-parse-lax@1.0.0
├─ url-to-options@1.0.1
├─ url@0.11.0
├─ util-deprecate@1.0.2
├─ utils-merge@1.0.1
├─ uuid@3.1.0
├─ vary@1.1.2
├─ verror@1.10.0
├─ very-fast-args@1.1.0
├─ whatwg-fetch@2.0.3
├─ which@1.3.0
├─ winchan@0.1.4
├─ wordwrap@1.0.0
├─ wrappy@1.0.2
├─ xdl@45.0.0
│  └─ fs-extra@0.30.0
├─ xmldom@0.1.27
├─ xregexp@2.0.0
├─ xtend@4.0.1
├─ yallist@2.1.2
└─ yesno@0.0.1
Done in 32.58s.
Installing dependencies using yarn...

yarn install v0.16.1
[1/4] Resolving packages...
warning react-native > connect@2.30.2: connect 2.x series is deprecated
[2/4] Fetching packages...
warning fsevents@1.1.2: The platform "win32" is incompatible with this module.
info "fsevents@1.1.2" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning Incorrect peer dependency "react@> 15.0.0".
warning Incorrect peer dependency "react@>=15.4.0".
error An unexpected error occured, please open a bug report with the information provided in "C:\\Users\\b014315\\Projects\\AwesomeProject\\yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Failed to install

Environment

Please run these commands in the project folder and fill in their results:

Also specify:

  1. Operating system: Windows 7 64 bit
  2. Phone/emulator/simulator & version: n/a

Reproducible Demo

Please provide a minimized reproducible demonstration of the problem you're reporting.

Issues that come with minimal repro's are resolved much more quickly than issues where a maintainer has to reproduce themselves.

anp commented 7 years ago

Hi! That version of yarn is quite old. Can you upgrade and try again?