Command `yarn lint` not working when init a new project
See original GitHub issueReact Native version:
System:
OS: macOS 10.15.2
CPU: (4) x64 Intel(R) Core(TM) i5-6267U CPU @ 2.90GHz
Memory: 699.99 MB / 8.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 13.5.0 - /usr/local/bin/node
Yarn: 1.21.1 - /usr/local/bin/yarn
npm: 6.13.4 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
Android SDK:
API Levels: 23, 28, 29
Build Tools: 28.0.0, 28.0.3, 29.0.2
System Images: android-28 | Google APIs Intel x86 Atom, android-29 | Google APIs Intel x86 Atom
IDEs:
Android Studio: 3.5 AI-191.8026.42.35.6010548
Xcode: 11.3/11C29 - /usr/bin/xcodebuild
npmPackages:
react: 16.9.0 => 16.9.0
react-native: 0.61.5 => 0.61.5
npmGlobalPackages:
react-native-cli: 2.0.1
Steps To Reproduce
1. react-native init ReactNativeApp
This will walk you through creating a new React Native project in /Users/blcsntb/react-native-app-cli/ReactNativeApp
Using yarn v1.21.1
Installing react-native...
yarn add v1.21.1
info No lockfile found.
[1/4] π Resolving packages...
warning react-native > fbjs > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning react-native > create-react-class > fbjs > core-js@1.2.7: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning react-native > fbjs-scripts > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning react-native > metro-babel-register > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
[2/4] π Fetching packages...
[3/4] π Linking dependencies...
warning "react-native > metro-react-native-babel-transformer@0.56.3" has unmet peer dependency "@babel/core@*".
warning " > react-native@0.61.5" has unmet peer dependency "react@16.9.0".
[4/4] π¨ Building fresh packages...
success Saved lockfile.
success Saved 411 new dependencies.
info Direct dependencies
ββ react-native@0.61.5
info All dependencies
ββ @babel/generator@7.7.7
ββ @babel/helper-builder-binary-assignment-operator-visitor@7.7.4
ββ @babel/helper-builder-react-jsx@7.7.4
ββ @babel/helper-call-delegate@7.7.4
ββ @babel/helper-create-regexp-features-plugin@7.7.4
ββ @babel/helper-define-map@7.7.4
ββ @babel/helper-explode-assignable-expression@7.7.4
ββ @babel/helper-hoist-variables@7.7.4
ββ @babel/helper-module-transforms@7.7.5
ββ @babel/helper-regex@7.5.5
ββ @babel/helper-remap-async-to-generator@7.7.4
ββ @babel/helper-wrap-function@7.7.4
ββ @babel/helpers@7.7.4
ββ @babel/highlight@7.5.0
ββ @babel/plugin-external-helpers@7.7.4
ββ @babel/plugin-proposal-export-default-from@7.7.4
ββ @babel/plugin-syntax-class-properties@7.7.4
ββ @babel/plugin-syntax-dynamic-import@7.7.4
ββ @babel/plugin-syntax-export-default-from@7.7.4
ββ @babel/plugin-syntax-flow@7.7.4
ββ @babel/plugin-syntax-nullish-coalescing-operator@7.7.4
ββ @babel/plugin-syntax-object-rest-spread@7.7.4
ββ @babel/plugin-syntax-optional-catch-binding@7.7.4
ββ @babel/plugin-syntax-optional-chaining@7.7.4
ββ @babel/plugin-syntax-typescript@7.7.4
ββ @babel/plugin-transform-async-to-generator@7.7.4
ββ @babel/plugin-transform-block-scoped-functions@7.7.4
ββ @babel/plugin-transform-exponentiation-operator@7.7.4
ββ @babel/plugin-transform-member-expression-literals@7.7.4
ββ @babel/plugin-transform-object-assign@7.7.4
ββ @babel/plugin-transform-object-super@7.7.4
ββ @babel/plugin-transform-property-literals@7.7.4
ββ @babel/plugin-transform-react-jsx-source@7.7.4
ββ @babel/plugin-transform-regenerator@7.7.5
ββ @babel/plugin-transform-runtime@7.7.6
ββ @babel/plugin-transform-sticky-regex@7.7.4
ββ @babel/plugin-transform-typescript@7.7.4
ββ @babel/plugin-transform-unicode-regex@7.7.4
ββ @babel/register@7.7.7
ββ @babel/runtime@7.7.7
ββ @cnakazawa/watch@1.0.3
ββ @hapi/address@2.1.4
ββ @hapi/bourne@1.3.2
ββ @hapi/hoek@8.5.0
ββ @hapi/joi@15.1.1
ββ @hapi/topo@3.1.6
ββ @jest/fake-timers@24.9.0
ββ @react-native-community/cli-debugger-ui@3.0.0
ββ @react-native-community/cli-platform-android@3.0.3
ββ @react-native-community/cli-platform-ios@3.0.0
ββ @react-native-community/cli-types@3.0.0
ββ @react-native-community/cli@3.0.4
ββ @types/istanbul-lib-report@1.1.1
ββ @types/istanbul-reports@1.1.1
ββ @types/stack-utils@1.0.1
ββ @types/yargs-parser@13.1.0
ββ @types/yargs@13.0.4
ββ abbrev@1.1.1
ββ abort-controller@3.0.0
ββ accepts@1.3.7
ββ ansi-colors@1.1.0
ββ ansi-cyan@0.1.1
ββ ansi-escapes@3.2.0
ββ ansi-fragments@0.2.1
ββ ansi-gray@0.1.1
ββ ansi-red@0.1.1
ββ ansi-regex@4.1.0
ββ aproba@1.2.0
ββ are-we-there-yet@1.1.5
ββ argparse@1.0.10
ββ arr-flatten@1.1.0
ββ array-filter@0.0.1
ββ array-map@0.0.0
ββ array-reduce@0.0.0
ββ array-slice@0.2.3
ββ art@0.10.3
ββ asap@2.0.6
ββ assign-symbols@1.0.0
ββ astral-regex@1.0.0
ββ async-limiter@1.0.1
ββ async@2.6.3
ββ atob@2.1.2
ββ babel-plugin-dynamic-import-node@2.3.0
ββ babel-plugin-syntax-trailing-function-commas@7.0.0-beta.0
ββ balanced-match@1.0.0
ββ base@0.11.2
ββ base64-js@1.3.1
ββ basic-auth@2.0.1
ββ big-integer@1.6.48
ββ bindings@1.5.0
ββ bplist-creator@0.0.8
ββ bplist-parser@0.2.0
ββ brace-expansion@1.1.11
ββ braces@2.3.2
ββ bser@2.1.1
ββ buffer-crc32@0.2.13
ββ bytes@3.0.0
ββ cache-base@1.0.1
ββ caller-callsite@2.0.0
ββ caller-path@2.0.0
ββ capture-exit@2.0.0
ββ chardet@0.4.2
ββ chownr@1.1.3
ββ ci-info@2.0.0
ββ class-utils@0.3.6
ββ cli-spinners@2.2.0
ββ cli-width@2.2.0
ββ cliui@3.2.0
ββ clone@1.0.4
ββ code-point-at@1.1.0
ββ collection-visit@1.0.0
ββ color-convert@1.9.3
ββ color-name@1.1.3
ββ color-support@1.1.3
ββ colorette@1.1.0
ββ command-exists@1.2.8
ββ commander@2.20.3
ββ commondir@1.0.1
ββ compressible@2.0.18
ββ compression@1.7.4
ββ concat-map@0.0.1
ββ concat-stream@1.6.2
ββ console-control-strings@1.1.0
ββ convert-source-map@1.7.0
ββ copy-descriptor@0.1.1
ββ core-js@2.6.11
ββ core-util-is@1.0.2
ββ cosmiconfig@5.2.1
ββ create-react-class@15.6.3
ββ cross-spawn@5.1.0
ββ dayjs@1.8.19
ββ debug@2.6.9
ββ decode-uri-component@0.2.0
ββ deep-extend@0.6.0
ββ deepmerge@3.3.0
ββ defaults@1.0.3
ββ define-properties@1.1.3
ββ delegates@1.0.0
ββ denodeify@1.2.1
ββ destroy@1.0.4
ββ detect-libc@1.0.3
ββ ee-first@1.1.1
ββ encoding@0.1.12
ββ end-of-stream@1.4.4
ββ envinfo@7.5.0
ββ error-ex@1.3.2
ββ errorhandler@1.5.1
ββ esprima@4.0.1
ββ etag@1.8.1
ββ event-target-shim@5.0.1
ββ eventemitter3@3.1.2
ββ expand-brackets@2.1.4
ββ external-editor@2.2.0
ββ extglob@2.0.4
ββ fancy-log@1.3.3
ββ fbjs-css-vars@1.0.2
ββ fbjs-scripts@1.2.0
ββ figures@2.0.0
ββ file-uri-to-path@1.0.0
ββ fill-range@4.0.0
ββ finalhandler@1.1.2
ββ find-cache-dir@2.1.0
ββ for-in@1.0.2
ββ fresh@0.5.2
ββ fs-extra@7.0.1
ββ fs-minipass@1.2.7
ββ fs.realpath@1.0.0
ββ fsevents@1.2.11
ββ function-bind@1.1.1
ββ gauge@2.7.4
ββ get-stream@4.1.0
ββ glob@7.1.6
ββ growly@1.3.0
ββ has-symbols@1.0.1
ββ has-unicode@2.0.1
ββ has-value@1.0.0
ββ hermes-engine@0.2.1
ββ hosted-git-info@2.8.5
ββ http-errors@1.7.3
ββ iconv-lite@0.4.24
ββ ignore-walk@3.0.3
ββ image-size@0.6.3
ββ import-fresh@2.0.0
ββ imurmurhash@0.1.4
ββ inflight@1.0.6
ββ inherits@2.0.4
ββ ini@1.3.5
ββ inquirer@3.3.0
ββ invert-kv@1.0.0
ββ is-accessor-descriptor@1.0.0
ββ is-arrayish@0.2.1
ββ is-ci@2.0.0
ββ is-data-descriptor@1.0.0
ββ is-descriptor@1.0.2
ββ is-directory@0.3.1
ββ is-plain-object@2.0.4
ββ is-promise@2.1.0
ββ is-windows@1.0.2
ββ isarray@1.0.0
ββ isexe@2.0.0
ββ jest-get-type@24.9.0
ββ jest-message-util@24.9.0
ββ jest-mock@24.9.0
ββ jest-serializer@24.9.0
ββ jest-util@24.9.0
ββ jest-validate@24.9.0
ββ jest-worker@24.9.0
ββ jetifier@1.6.5
ββ js-tokens@4.0.0
ββ jsc-android@245459.0.0
ββ jsesc@2.5.2
ββ json-parse-better-errors@1.0.2
ββ json-stable-stringify@1.0.1
ββ json5@2.1.1
ββ jsonfile@4.0.0
ββ klaw@1.3.1
ββ lcid@1.0.0
ββ leven@3.1.0
ββ load-json-file@2.0.0
ββ locate-path@3.0.0
ββ log-symbols@2.2.0
ββ logkitty@0.6.1
ββ loose-envify@1.4.0
ββ lru-cache@4.1.5
ββ make-dir@2.1.0
ββ makeerror@1.0.11
ββ map-age-cleaner@0.1.3
ββ map-visit@1.0.0
ββ mem@1.1.0
ββ merge-stream@1.0.1
ββ metro-babel-register@0.56.3
ββ metro-config@0.56.3
ββ metro-inspector-proxy@0.56.3
ββ metro-minify-uglify@0.56.3
ββ metro@0.56.3
ββ mime-db@1.43.0
ββ mime-types@2.1.11
ββ mime@2.4.4
ββ minimatch@3.0.4
ββ minimist@1.2.0
ββ minipass@2.9.0
ββ minizlib@1.3.3
ββ mixin-deep@1.3.2
ββ mkdirp@0.5.1
ββ morgan@1.9.1
ββ ms@2.1.2
ββ mute-stream@0.0.7
ββ nan@2.14.0
ββ nanomatch@1.2.13
ββ needle@2.4.0
ββ negotiator@0.6.2
ββ nice-try@1.0.5
ββ node-fetch@2.6.0
ββ node-int64@0.4.0
ββ node-modules-regexp@1.0.0
ββ node-notifier@5.4.3
ββ node-pre-gyp@0.14.0
ββ nopt@4.0.1
ββ normalize-package-data@2.5.0
ββ normalize-path@2.1.1
ββ npm-bundled@1.1.1
ββ npm-normalize-package-bin@1.0.1
ββ npm-packlist@1.4.7
ββ npmlog@4.1.2
ββ number-is-nan@1.0.1
ββ ob1@0.56.3
ββ object-assign@4.1.1
ββ object-copy@0.1.0
ββ object-keys@1.1.1
ββ object.assign@4.1.0
ββ on-headers@1.0.2
ββ once@1.4.0
ββ onetime@2.0.1
ββ open@6.4.0
ββ options@0.0.6
ββ ora@3.4.0
ββ os-homedir@1.0.2
ββ os-locale@2.1.0
ββ os-tmpdir@1.0.2
ββ osenv@0.1.5
ββ p-defer@1.0.0
ββ p-is-promise@2.1.0
ββ p-limit@2.2.2
ββ p-locate@3.0.0
ββ p-try@2.2.0
ββ parse-json@4.0.0
ββ parse-node-version@1.0.1
ββ pascalcase@0.1.1
ββ path-is-absolute@1.0.1
ββ path-key@2.0.1
ββ path-parse@1.0.6
ββ path-type@2.0.0
ββ pirates@4.0.1
ββ pkg-dir@3.0.0
ββ plist@3.0.1
ββ plugin-error@0.1.2
ββ posix-character-classes@0.1.1
ββ pretty-format@24.9.0
ββ private@0.1.8
ββ process-nextick-args@2.0.1
ββ prop-types@15.7.2
ββ pseudomap@1.0.2
ββ pump@3.0.0
ββ range-parser@1.2.1
ββ rc@1.2.8
ββ react-devtools-core@3.6.3
ββ react-is@16.12.0
ββ react-native@0.61.5
ββ read-pkg-up@2.0.0
ββ read-pkg@2.0.0
ββ readable-stream@2.3.7
ββ regenerate-unicode-properties@8.1.0
ββ regenerator-transform@0.14.1
ββ regexpu-core@4.6.0
ββ regjsgen@0.5.1
ββ regjsparser@0.6.2
ββ remove-trailing-separator@1.1.0
ββ repeat-element@1.1.3
ββ resolve-from@3.0.0
ββ resolve-url@0.2.1
ββ resolve@1.14.2
ββ restore-cursor@2.0.0
ββ ret@0.1.15
ββ rimraf@2.7.1
ββ rsvp@4.8.5
ββ run-async@2.3.0
ββ rx-lite-aggregates@4.0.8
ββ rx-lite@4.0.8
ββ rxjs@5.5.12
ββ safer-buffer@2.1.2
ββ sane@4.1.0
ββ sax@1.2.4
ββ scheduler@0.15.0
ββ semver@5.7.1
ββ send@0.17.1
ββ serialize-error@2.1.0
ββ set-blocking@2.0.0
ββ set-value@2.0.1
ββ setprototypeof@1.1.1
ββ shebang-regex@1.0.0
ββ shell-quote@1.6.1
ββ shellwords@0.1.1
ββ signal-exit@3.0.2
ββ simple-plist@1.1.0
ββ slice-ansi@2.1.0
ββ slide@1.1.6
ββ snapdragon-node@2.1.1
ββ snapdragon-util@3.0.1
ββ source-map-resolve@0.5.3
ββ source-map-support@0.5.16
ββ source-map-url@0.4.0
ββ spdx-correct@3.1.0
ββ spdx-exceptions@2.2.0
ββ split-string@3.1.0
ββ sprintf-js@1.0.3
ββ stack-utils@1.0.2
ββ stacktrace-parser@0.1.8
ββ static-extend@0.1.2
ββ statuses@1.5.0
ββ stream-buffers@2.2.0
ββ string_decoder@1.1.1
ββ string-width@2.1.1
ββ strip-ansi@3.0.1
ββ strip-bom@3.0.0
ββ strip-json-comments@2.0.1
ββ sudo-prompt@9.1.1
ββ supports-color@5.5.0
ββ symbol-observable@1.0.1
ββ tar@4.4.13
ββ temp@0.8.3
ββ throat@4.1.0
ββ through@2.3.8
ββ through2@2.0.5
ββ time-stamp@1.1.0
ββ tmp@0.0.33
ββ to-fast-properties@2.0.0
ββ to-object-path@0.3.0
ββ to-regex-range@2.1.1
ββ toidentifier@1.0.0
ββ type-fest@0.7.1
ββ typedarray@0.0.6
ββ uglify-es@3.3.9
ββ ultron@1.0.2
ββ unicode-canonical-property-names-ecmascript@1.0.4
ββ unicode-match-property-ecmascript@1.0.4
ββ unicode-match-property-value-ecmascript@1.1.0
ββ unicode-property-aliases-ecmascript@1.0.5
ββ union-value@1.0.1
ββ universalify@0.1.2
ββ unpipe@1.0.0
ββ unset-value@1.0.0
ββ urix@0.1.0
ββ use@3.1.1
ββ util-deprecate@1.0.2
ββ utils-merge@1.0.1
ββ uuid@3.3.3
ββ validate-npm-package-license@3.0.4
ββ vary@1.1.2
ββ walker@1.0.7
ββ whatwg-fetch@3.0.0
ββ wide-align@1.1.3
ββ write-file-atomic@1.3.4
ββ xcode@2.1.0
ββ xmlbuilder@9.0.7
ββ xmldoc@1.1.2
ββ xmldom@0.1.31
ββ xpipe@1.0.5
ββ xtend@4.0.2
ββ y18n@3.2.1
ββ yallist@3.1.1
ββ yargs-parser@7.0.0
β¨ Done in 35.10s.
info Setting up new React Native app in /Users/blcsntb/react-native-app-cli/ReactNativeApp
info Adding required dependencies
yarn add v1.21.1
[1/4] π Resolving packages...
warning jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > left-pad@1.3.0: use String.prototype.padStart()
[2/4] π Fetching packages...
[3/4] π Linking dependencies...
warning "@react-native-community/eslint-config > @typescript-eslint/eslint-plugin@1.13.0" has incorrect peer dependency "eslint@^5.0.0".
warning "@react-native-community/eslint-config > eslint-plugin-react@7.12.4" has incorrect peer dependency "eslint@^3.0.0 || ^4.0.0 || ^5.0.0".
warning "@react-native-community/eslint-config > eslint-plugin-react-native@3.6.0" has incorrect peer dependency "eslint@^3.17.0 || ^4 || ^5".
warning "@react-native-community/eslint-config > @typescript-eslint/eslint-plugin > tsutils@3.17.1" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
warning "@react-native-community/eslint-config > @typescript-eslint/parser@1.13.0" has incorrect peer dependency "eslint@^5.0.0".
[4/4] π¨ Building fresh packages...
success Saved lockfile.
success Saved 179 new dependencies.
info Direct dependencies
ββ @react-native-community/eslint-config@0.0.5
ββ eslint@6.8.0
ββ jest@24.9.0
ββ react-test-renderer@16.9.0
ββ react@16.9.0
info All dependencies
ββ @jest/core@24.9.0
ββ @jest/reporters@24.9.0
ββ @jest/test-sequencer@24.9.0
ββ @react-native-community/eslint-config@0.0.5
ββ @types/babel__core@7.1.3
ββ @types/babel__generator@7.6.1
ββ @types/babel__template@7.0.2
ββ @types/babel__traverse@7.0.8
ββ @types/eslint-visitor-keys@1.0.0
ββ @types/json-schema@7.0.4
ββ @typescript-eslint/eslint-plugin@1.13.0
ββ @typescript-eslint/parser@1.13.0
ββ acorn-globals@4.3.4
ββ acorn-jsx@5.1.0
ββ acorn-walk@6.2.0
ββ acorn@7.1.0
ββ ajv@6.10.2
ββ array-equal@1.0.0
ββ asn1@0.2.4
ββ asynckit@0.4.0
ββ aws-sign2@0.7.0
ββ aws4@1.9.0
ββ babel-eslint@10.0.1
ββ babel-plugin-jest-hoist@24.9.0
ββ babel-preset-jest@24.9.0
ββ bcrypt-pbkdf@1.0.2
ββ browser-process-hrtime@0.1.3
ββ browser-resolve@1.11.3
ββ caseless@0.12.0
ββ chardet@0.7.0
ββ cliui@5.0.0
ββ co@4.6.0
ββ combined-stream@1.0.8
ββ cssom@0.3.8
ββ cssstyle@1.4.0
ββ dashdash@1.14.1
ββ data-urls@1.1.0
ββ deep-is@0.1.3
ββ delayed-stream@1.0.0
ββ detect-newline@2.1.0
ββ diff-sequences@24.9.0
ββ doctrine@3.0.0
ββ domexception@1.0.1
ββ ecc-jsbn@0.1.2
ββ emoji-regex@7.0.3
ββ es-to-primitive@1.2.1
ββ escodegen@1.12.1
ββ eslint-plugin-eslint-comments@3.1.2
ββ eslint-plugin-flowtype@2.50.3
ββ eslint-plugin-jest@22.4.1
ββ eslint-plugin-prettier@2.6.2
ββ eslint-plugin-react-hooks@1.7.0
ββ eslint-plugin-react-native-globals@0.1.2
ββ eslint-plugin-react-native@3.6.0
ββ eslint-plugin-react@7.12.4
ββ eslint-scope@5.0.0
ββ eslint-utils@1.4.3
ββ eslint@6.8.0
ββ espree@6.1.2
ββ esquery@1.0.1
ββ estraverse@4.3.0
ββ extend@3.0.2
ββ external-editor@3.1.0
ββ extsprintf@1.3.0
ββ fast-deep-equal@2.0.1
ββ fast-diff@1.2.0
ββ fast-levenshtein@2.0.6
ββ figures@3.1.0
ββ file-entry-cache@5.0.1
ββ flat-cache@2.0.1
ββ flatted@2.0.1
ββ forever-agent@0.6.1
ββ form-data@2.3.3
ββ getpass@0.1.7
ββ glob-parent@5.1.0
ββ handlebars@4.5.3
ββ har-schema@2.0.0
ββ har-validator@5.1.3
ββ html-encoding-sniffer@1.0.2
ββ http-signature@1.2.0
ββ ignore@4.0.6
ββ import-fresh@3.2.1
ββ inquirer@7.0.3
ββ is-callable@1.1.5
ββ is-date-object@1.0.2
ββ is-extglob@2.1.1
ββ is-generator-fn@2.1.0
ββ is-glob@4.0.1
ββ is-regex@1.0.5
ββ is-string@1.0.5
ββ is-symbol@1.0.3
ββ is-typedarray@1.0.0
ββ isstream@0.1.2
ββ istanbul-lib-instrument@3.3.0
ββ istanbul-lib-report@2.0.8
ββ istanbul-lib-source-maps@3.0.6
ββ istanbul-reports@2.2.6
ββ jest-changed-files@24.9.0
ββ jest-cli@24.9.0
ββ jest-docblock@21.2.0
ββ jest-each@24.9.0
ββ jest-environment-jsdom@24.9.0
ββ jest-environment-node@24.9.0
ββ jest-leak-detector@24.9.0
ββ jest-pnp-resolver@1.2.1
ββ jest-resolve-dependencies@24.9.0
ββ jest-watcher@24.9.0
ββ jest@24.9.0
ββ jsdom@11.12.0
ββ json-schema-traverse@0.4.1
ββ json-schema@0.2.3
ββ json-stable-stringify-without-jsonify@1.0.1
ββ json-stringify-safe@5.0.1
ββ jsprim@1.4.1
ββ jsx-ast-utils@2.2.3
ββ kleur@3.0.3
ββ left-pad@1.3.0
ββ levn@0.3.0
ββ load-json-file@4.0.0
ββ lodash.unescape@4.0.1
ββ mute-stream@0.0.8
ββ neo-async@2.6.1
ββ nwsapi@2.2.0
ββ oauth-sign@0.9.0
ββ object-inspect@1.7.0
ββ object.fromentries@2.0.2
ββ object.getownpropertydescriptors@2.1.0
ββ optimist@0.6.1
ββ optionator@0.8.3
ββ p-each-series@1.0.0
ββ p-reduce@1.0.0
ββ parent-module@1.0.1
ββ parse5@4.0.0
ββ path-type@3.0.0
ββ performance-now@2.1.0
ββ pn@1.1.0
ββ prettier@1.16.4
ββ progress@2.0.3
ββ prompts@2.3.0
ββ psl@1.7.0
ββ qs@6.5.2
ββ react-test-renderer@16.9.0
ββ react@16.9.0
ββ read-pkg-up@4.0.0
ββ read-pkg@3.0.0
ββ request-promise-core@1.1.3
ββ request-promise-native@1.0.8
ββ request@2.88.0
ββ resolve-cwd@2.0.0
ββ rxjs@6.5.4
ββ sisteransi@1.0.4
ββ sshpk@1.16.1
ββ stealthy-require@1.1.1
ββ string.prototype.trimleft@2.1.1
ββ string.prototype.trimright@2.1.1
ββ strip-json-comments@3.0.1
ββ symbol-tree@3.2.4
ββ table@5.4.6
ββ test-exclude@5.2.3
ββ text-table@0.2.0
ββ tough-cookie@2.5.0
ββ tslib@1.10.0
ββ tsutils@3.17.1
ββ tunnel-agent@0.6.0
ββ tweetnacl@0.14.5
ββ uglify-js@3.7.4
ββ uri-js@4.2.2
ββ util.promisify@1.0.0
ββ v8-compile-cache@2.1.0
ββ verror@1.10.0
ββ w3c-hr-time@1.0.1
ββ whatwg-encoding@1.0.5
ββ whatwg-mimetype@2.3.0
ββ whatwg-url@6.5.0
ββ word-wrap@1.2.3
ββ write-file-atomic@2.4.1
ββ write@1.0.3
ββ xml-name-validator@3.0.0
ββ yargs-parser@13.1.1
β¨ Done in 17.09s.
info Adding required dev dependencies
yarn add v1.21.1
[1/4] π Resolving packages...
[2/4] π Fetching packages...
warning Pattern ["@babel/core@^7.7.7"] is trying to unpack in the same destination "/Users/blcsntb/Library/Caches/Yarn/v6/npm-@babel-core-7.7.7-ee155d2e12300bcc0cff6a8ad46f2af5063803e9-integrity/node_modules/@babel/core" as pattern ["@babel/core@^7.0.0","@babel/core@^7.0.0","@babel/core@^7.0.0","@babel/core@^7.0.0","@babel/core@^7.0.0","@babel/core@^7.1.0","@babel/core@^7.1.0"]. This could result in non-deterministic behavior, skipping.
warning Pattern ["@babel/runtime@^7.7.7"] is trying to unpack in the same destination "/Users/blcsntb/Library/Caches/Yarn/v6/npm-@babel-runtime-7.7.7-194769ca8d6d7790ec23605af9ee3e42a0aa79cf-integrity/node_modules/@babel/runtime" as pattern ["@babel/runtime@^7.0.0"]. This could result in non-deterministic behavior, skipping.
[3/4] π Linking dependencies...
warning "@react-native-community/eslint-config > @typescript-eslint/eslint-plugin@1.13.0" has incorrect peer dependency "eslint@^5.0.0".
warning "@react-native-community/eslint-config > @typescript-eslint/parser@1.13.0" has incorrect peer dependency "eslint@^5.0.0".
warning "@react-native-community/eslint-config > @typescript-eslint/eslint-plugin > tsutils@3.17.1" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
[4/4] π¨ Building fresh packages...
success Saved lockfile.
success Saved 18 new dependencies.
info Direct dependencies
ββ @babel/core@7.7.7
ββ @babel/runtime@7.7.7
ββ @react-native-community/eslint-config@0.0.6
ββ babel-jest@24.9.0
ββ eslint@6.8.0
ββ jest@24.9.0
ββ metro-react-native-babel-preset@0.57.0
info All dependencies
ββ @babel/core@7.7.7
ββ @babel/runtime@7.7.7
ββ @react-native-community/eslint-config@0.0.6
ββ babel-eslint@10.0.3
ββ babel-jest@24.9.0
ββ eslint-config-prettier@6.9.0
ββ eslint-plugin-eslint-comments@3.1.2
ββ eslint-plugin-react-hooks@2.3.0
ββ eslint-plugin-react-native@3.8.1
ββ eslint-plugin-react@7.16.0
ββ eslint@6.8.0
ββ get-stdin@6.0.0
ββ jest@24.9.0
ββ jsx-ast-utils@2.2.3
ββ metro-react-native-babel-preset@0.57.0
ββ object.entries@1.1.1
ββ object.values@1.1.1
ββ prettier@1.17.0
β¨ Done in 9.56s.
info Installing required CocoaPods dependencies
Run instructions for iOS:
β’ cd /Users/blcsntb/react-native-app-cli/ReactNativeApp && npx react-native run-ios
- or -
β’ Open ReactNativeApp/ios/ReactNativeApp.xcworkspace in Xcode or run "xed -b ios"
β’ Hit the Run button
Run instructions for Android:
β’ Have an Android emulator running (quickest way to get started), or a device connected.
β’ cd /Users/blcsntb/react-native-app-cli/ReactNativeApp && npx react-native run-android
- cd ReactNativeApp
3. yarn test
yarn run v1.21.1
$ jest
PASS __tests__/App-test.js (9.4s)
β renders correctly (6460ms)
Test Suites: 1 passed, 1 total
Tests: 1 passed, 1 total
Snapshots: 0 total
Time: 10.334s
Ran all test suites.
β¨ Done in 12.66s.
- yarn lint
yarn run v1.21.1
$ eslint .
Oops! Something went wrong! :(
ESLint: 6.8.0.
ESLint couldn't find the plugin "@react-native-community/eslint-plugin".
(The package "@react-native-community/eslint-plugin" was not found when loaded as a Node module from the directory "/Users/blcsntb/react-native-app-cli/ReactNativeApp".)
It's likely that the plugin isn't installed correctly. Try reinstalling by running the following:
npm install @react-native-community/eslint-plugin@latest --save-dev
The plugin "@react-native-community/eslint-plugin" was referenced from the config file in ".eslintrc.js Β» @react-native-community/eslint-config".
If you still can't figure out the problem, please stop by https://gitter.im/eslint/eslint to chat with the team.
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:8
- Comments:6
Top Results From Across the Web
error Command failed with exit code 1. when I try to run yarn
Try executing following commands in your project root folder: yarn install and yarn start. In case if the above approach didn't help: Try...
Read more >Command Line Interface - ESLint - Pluggable JavaScript Linter
A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
Read more >eslint | Yarn - Package Manager
A bug fix to the CLI or core (including formatters). Improvements to documentation. Non-user-facing changes such as refactoring code, adding, deleting, orΒ ...
Read more >ESLint not working in VSCode? Help build a troubleshooting ...
Try setting up your ESLint config from scratch. Remove everything ESLint related and start from scratch using the eslint --init command thatΒ ...
Read more >Advanced package manager features for npm, Yarn, and pnpm
Debugging issues with dependencies in Yarn Berry PnP; Yarn Berry ... When executed in the root of your project, the command yarn set...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You are right, then its a release error. Sadly, in the npm registry its clearly missing π
@react-native-community/eslint-config
on npm repository has thepackage.json
file different from the one on github (where it is correct) https://github.com/facebook/react-native/blob/master/packages/eslint-config-react-native-community/package.json