question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Missing dependencies in my create-react-app project

See original GitHub issue

when I tape yarn check in my react.js project it appears this error

yarn check v1.16.0
info fsevents@2.0.6: The platform "linux" is incompatible with this module.
info "fsevents@2.0.6" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@1.2.9: The platform "linux" is incompatible with this module.
info "fsevents@1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation.
warning "react-scripts#babel-jest@^24.8.0" could be deduped from "24.8.0" to "babel-jest@24.8.0"
warning "react-scripts#babel-preset-react-app#@babel/plugin-transform-react-constant-elements@7.2.0" could be deduped from "7.2.0" to "@babel/plugin-transform-react-constant-elements@7.2.0"
warning "react-scripts#babel-preset-react-app#@babel/plugin-transform-react-display-name@7.2.0" could be deduped from "7.2.0" to "@babel/plugin-transform-react-display-name@7.2.0"
warning "react-scripts#babel-preset-react-app#@babel/preset-react@7.0.0" could be deduped from "7.0.0" to "@babel/preset-react@7.0.0"
warning "react-scripts#babel-jest#@babel/core@^7.0.0" could be deduped from "7.4.4" to "@babel/core@7.4.4"
warning "react-scripts#babel-loader#@babel/core@^7.0.0" could be deduped from "7.4.4" to "@babel/core@7.4.4"
warning "react-scripts#babel-plugin-named-asset-import#@babel/core@^7.1.0" could be deduped from "7.4.4" to "@babel/core@7.4.4"
warning "jest-resolve#jest-pnp-resolver#jest-resolve@*" could be deduped from "24.8.0" to "jest-resolve@24.8.0"
warning "webpack#chrome-trace-event#tslib@^1.9.0" could be deduped from "1.10.0" to "tslib@1.10.0"
warning "babel-preset-react-app#@babel/plugin-proposal-class-properties#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/core@7.4.4"
warning "babel-preset-react-app#@babel/plugin-proposal-decorators#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/core@7.4.4"
warning "babel-preset-react-app#@babel/plugin-proposal-object-rest-spread#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/core@7.4.4"
warning "babel-preset-react-app#@babel/plugin-syntax-dynamic-import#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/core@7.4.4"
warning "babel-preset-react-app#@babel/plugin-transform-classes#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/core@7.4.4"
warning "babel-preset-react-app#@babel/plugin-transform-destructuring#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/core@7.4.4"
warning "babel-preset-react-app#@babel/plugin-transform-flow-strip-types#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/core@7.4.4"
warning "babel-preset-react-app#@babel/plugin-transform-react-display-name#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/core@7.4.4"
warning "babel-preset-react-app#@babel/plugin-transform-runtime#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/core@7.4.4"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-proposal-async-generator-functions@^7.2.0" could be deduped from "7.2.0" to "@babel/plugin-proposal-async-generator-functions@7.2.0"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-proposal-json-strings@^7.2.0" could be deduped from "7.2.0" to "@babel/plugin-proposal-json-strings@7.2.0"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-proposal-optional-catch-binding@^7.2.0" could be deduped from "7.2.0" to "@babel/plugin-proposal-optional-catch-binding@7.2.0"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-proposal-unicode-property-regex@^7.4.0" could be deduped from "7.4.4" to "@babel/plugin-proposal-unicode-property-regex@7.4.4"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-syntax-async-generators@^7.2.0" could be deduped from "7.2.0" to "@babel/plugin-syntax-async-generators@7.2.0"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-syntax-optional-catch-binding@^7.2.0" could be deduped from "7.2.0" to "@babel/plugin-syntax-optional-catch-binding@7.2.0"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-arrow-functions@^7.2.0" could be deduped from "7.2.0" to "@babel/plugin-transform-arrow-functions@7.2.0"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-async-to-generator@^7.4.0" could be deduped from "7.4.4" to "@babel/plugin-transform-async-to-generator@7.4.4"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-block-scoped-functions@^7.2.0" could be deduped from "7.2.0" to "@babel/plugin-transform-block-scoped-functions@7.2.0"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-block-scoping@^7.4.0" could be deduped from "7.4.4" to "@babel/plugin-transform-block-scoping@7.4.4"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-computed-properties@^7.2.0" could be deduped from "7.2.0" to "@babel/plugin-transform-computed-properties@7.2.0"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-dotall-regex@^7.4.3" could be deduped from "7.4.4" to "@babel/plugin-transform-dotall-regex@7.4.4"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-duplicate-keys@^7.2.0" could be deduped from "7.2.0" to "@babel/plugin-transform-duplicate-keys@7.2.0"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-exponentiation-operator@^7.2.0" could be deduped from "7.2.0" to "@babel/plugin-transform-exponentiation-operator@7.2.0"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-for-of@^7.4.3" could be deduped from "7.4.4" to "@babel/plugin-transform-for-of@7.4.4"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-function-name@^7.4.3" could be deduped from "7.4.4" to "@babel/plugin-transform-function-name@7.4.4"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-literals@^7.2.0" could be deduped from "7.2.0" to "@babel/plugin-transform-literals@7.2.0"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-member-expression-literals@^7.2.0" could be deduped from "7.2.0" to "@babel/plugin-transform-member-expression-literals@7.2.0"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-modules-amd@^7.2.0" could be deduped from "7.2.0" to "@babel/plugin-transform-modules-amd@7.2.0"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-modules-commonjs@^7.4.3" could be deduped from "7.4.4" to "@babel/plugin-transform-modules-commonjs@7.4.4"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-modules-systemjs@^7.4.0" could be deduped from "7.4.4" to "@babel/plugin-transform-modules-systemjs@7.4.4"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-modules-umd@^7.2.0" could be deduped from "7.2.0" to "@babel/plugin-transform-modules-umd@7.2.0"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-named-capturing-groups-regex@^7.4.2" could be deduped from "7.4.4" to "@babel/plugin-transform-named-capturing-groups-regex@7.4.4"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-new-target@^7.4.0" could be deduped from "7.4.4" to "@babel/plugin-transform-new-target@7.4.4"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-object-super@^7.2.0" could be deduped from "7.2.0" to "@babel/plugin-transform-object-super@7.2.0"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-parameters@^7.4.3" could be deduped from "7.4.4" to "@babel/plugin-transform-parameters@7.4.4"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-property-literals@^7.2.0" could be deduped from "7.2.0" to "@babel/plugin-transform-property-literals@7.2.0"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-regenerator@^7.4.3" could be deduped from "7.4.4" to "@babel/plugin-transform-regenerator@7.4.4"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-reserved-words@^7.2.0" could be deduped from "7.2.0" to "@babel/plugin-transform-reserved-words@7.2.0"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-spread@^7.2.0" could be deduped from "7.2.2" to "@babel/plugin-transform-spread@7.2.2"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-template-literals@^7.2.0" could be deduped from "7.4.4" to "@babel/plugin-transform-template-literals@7.4.4"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-typeof-symbol@^7.2.0" could be deduped from "7.2.0" to "@babel/plugin-transform-typeof-symbol@7.2.0"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-transform-unicode-regex@^7.4.3" could be deduped from "7.4.4" to "@babel/plugin-transform-unicode-regex@7.4.4"
warning "babel-preset-react-app#@babel/preset-env#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/core@7.4.4"
warning "babel-preset-react-app#@babel/preset-react#@babel/plugin-transform-react-display-name@^7.0.0" could be deduped from "7.2.0" to "@babel/plugin-transform-react-display-name@7.2.0"
warning "babel-preset-react-app#@babel/preset-react#@babel/plugin-transform-react-jsx@^7.0.0" could be deduped from "7.3.0" to "@babel/plugin-transform-react-jsx@7.3.0"
warning "babel-preset-react-app#@babel/preset-react#@babel/plugin-transform-react-jsx-self@^7.0.0" could be deduped from "7.2.0" to "@babel/plugin-transform-react-jsx-self@7.2.0"
warning "babel-preset-react-app#@babel/preset-react#@babel/plugin-transform-react-jsx-source@^7.0.0" could be deduped from "7.2.0" to "@babel/plugin-transform-react-jsx-source@7.2.0"
warning "babel-preset-react-app#@babel/preset-typescript#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/core@7.4.4"
warning "react-scripts#babel-jest#babel-preset-jest#@babel/core@^7.0.0" could be deduped from "7.4.4" to "@babel/core@7.4.4"
warning "@typescript-eslint/eslint-plugin#tsutils#tslib@^1.8.1" could be deduped from "1.10.0" to "tslib@1.10.0"
warning "eslint#inquirer#rxjs#tslib@^1.9.0" could be deduped from "1.10.0" to "tslib@1.10.0"
warning "babel-preset-react-app#@babel/plugin-proposal-class-properties#@babel/helper-create-class-features-plugin#@babel/core@^7.0.0" could be deduped from "7.4.4" to "@babel/core@7.4.4"
warning "babel-preset-react-app#@babel/preset-env#@babel/plugin-proposal-async-generator-functions#@babel/plugin-syntax-async-generators@^7.2.0" could be deduped from "7.2.0" to "@babel/plugin-syntax-async-generators@7.2.0"
warning "babel-preset-react-app#@babel/plugin-proposal-decorators#@babel/plugin-syntax-decorators#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/core@7.4.4"
warning "babel-preset-react-app#@babel/plugin-transform-flow-strip-types#@babel/plugin-syntax-flow#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/core@7.4.4"
warning "@babel/preset-react#@babel/plugin-transform-react-display-name#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/core@7.4.4"
error "babel-preset-react-app#@babel/preset-react#@babel/plugin-transform-react-jsx-self" not installed
error "babel-preset-react-app#@babel/preset-react#@babel/plugin-transform-react-jsx-source" not installed
warning "babel-preset-react-app#@babel/preset-typescript#@babel/plugin-transform-typescript#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/core@7.4.4"
warning "babel-preset-react-app#@babel/plugin-transform-typescript#@babel/plugin-syntax-typescript#@babel/core@^7.0.0-0" could be deduped from "7.4.4" to "@babel/core@7.4.4"
warning "jest-config#babel-jest#@babel/core@^7.0.0" could be deduped from "7.4.4" to "@babel/core@7.4.4"
error "babel-jest#babel-preset-jest" not installed
info Found 68 warnings.
error Found 3 errors.
info Visit https://yarnpkg.com/en/docs/cli/check for documentation about this command.

I attempted to fix it with yarn install but nothing change and show that they all up-to-date

yarn install v1.16.0
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.85s.

I can’t understand what’s the reason that causes this and how to fix it.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ghostcommented, Aug 13, 2019

@ianschmitz Thank u soo much

0reactions
ianschmitzcommented, Aug 12, 2019

You can ignore the remaining messages for now. fsevents is expected as it is only used on macOS. the typescript-eslint messages are harmless. They will release 2.0 with an updated peerDependency, but their current version seems to work fine on ESLint 6.

Read more comments on GitHub >

github_iconTop Results From Across the Web

create-react-app throws error: "Missing dependencies in ...
It seems that the error is discussed in this issue: This seems to be a Yarn issue. The workaround is to use npm...
Read more >
missing dependencies in package.json when using "create ...
Experienced the issue with --use-npm. create-react-app: v1.13.0 npm: v6.4.1 node: v10.15.0. Win10. Got this error:
Read more >
create-react-app throws error: "Missing dependencies in ...
The workaround is to use npm instead of yarn: create-react-app myproject --use-npm. If installing with npm you experience the following error:.
Read more >
How to fix - react hook useEffect has missing dependencies?
We are trying to build a React app and in one of the components, we are getting a user object and want to...
Read more >
Webpack 5 errors | ImmutableX Documentation
If you're using the latest version of create-react-app with the @imtbl/imx-sdk module, ... The following missing dependencies will have to be installed: ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found