Skip to content

[Bug] yarn add react-scripts fails #2086

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Sun-2 opened this issue Nov 5, 2020 · 1 comment
Closed

[Bug] yarn add react-scripts fails #2086

Sun-2 opened this issue Nov 5, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@Sun-2
Copy link

Sun-2 commented Nov 5, 2020

Running yarn add react-scripts (a part of create-react-app) yields:

❯ yarn add react-scripts
➤ YN0000: ┌ Resolution step
➤ YN0032: │ fsevents@npm:2.2.0: Implicit dependencies on node-gyp are discouraged
➤ YN0032: │ fsevents@npm:2.2.0: Implicit dependencies on node-gyp are discouraged
➤ YN0061: │ chokidar@npm:2.1.8 is deprecated: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
➤ YN0061: │ request@npm:2.88.2 is deprecated: request has been deprecated, see https://github.com/request/request/issues/3142
➤ YN0061: │ @hapi/joi@npm:15.1.1 is deprecated: Switch to 'npm install joi'
➤ YN0061: │ rollup-plugin-babel@npm:4.4.0 is deprecated: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-babel.
➤ YN0061: │ fsevents@npm:1.2.13 is deprecated: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
➤ YN0061: │ fsevents@npm:1.2.13 is deprecated: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
➤ YN0061: │ urix@npm:0.1.0 is deprecated: Please see https://github.com/lydell/urix#deprecated
➤ YN0032: │ fsevents@npm:2.1.3: Implicit dependencies on node-gyp are discouraged
➤ YN0061: │ @hapi/address@npm:2.1.4 is deprecated: Moved to 'npm install @sideway/address'
➤ YN0061: │ @hapi/bourne@npm:1.3.2 is deprecated: This version has been deprecated and is no longer supported or maintained
➤ YN0061: │ @hapi/hoek@npm:8.5.1 is deprecated: This version has been deprecated and is no longer supported or maintained
➤ YN0061: │ @hapi/topo@npm:3.1.6 is deprecated: This version has been deprecated and is no longer supported or maintained
➤ YN0061: │ har-validator@npm:5.1.5 is deprecated: this library is no longer supported
➤ YN0032: │ nan@npm:2.14.2: Implicit dependencies on node-gyp are discouraged
➤ YN0032: │ fsevents@npm:2.1.3: Implicit dependencies on node-gyp are discouraged
➤ YN0061: │ resolve-url@npm:0.2.1 is deprecated: https://github.com/lydell/resolve-url#deprecated
➤ YN0032: │ evp_bytestokey@npm:1.0.3: Implicit dependencies on node-gyp are discouraged
➤ YN0061: │ request-promise-native@npm:1.0.9 is deprecated: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
➤ YN0061: │ core-js@npm:2.6.11 is deprecated: 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.
➤ YN0002: │ react-dev-utils@npm:11.0.0 doesn't provide typescript@>= 2.7 requested by fork-ts-checker-webpack-plugin@npm:4.1.6
➤ YN0002: │ react-dev-utils@npm:11.0.0 doesn't provide webpack@>= 4 requested by fork-ts-checker-webpack-plugin@npm:4.1.6
➤ YN0000: └ Completed in 9s 926ms
➤ YN0000: ┌ Fetch step
➤ YN0013: │ indexes-of@npm:1.0.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ infer-owner@npm:1.0.4 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ inflight@npm:1.0.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ inherits@npm:2.0.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ inherits@npm:2.0.3 can't be found in the cache and will be fetched from the remote registry
➤ YN0066: │ fsevents@patch:fsevents@npm%3A2.2.0#builtin<compat/fsevents>::version=2.2.0&hash=127e8e: Cannot apply hunk #1 (set enableInlineHunks for details)
➤ YN0013: │ yaml@npm:1.10.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ yargs-parser@npm:13.1.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ yargs-parser@npm:18.1.3 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ yargs@npm:13.3.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ yargs@npm:15.4.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0000: └ Completed in 1s 588ms
➤ YN0000: Failed with errors in 11s 515ms

npm i works, however.

yarn -v yields 2.3.3.

@Sun-2 Sun-2 added the bug Something isn't working label Nov 5, 2020
@Sun-2
Copy link
Author

Sun-2 commented Nov 5, 2020

The same as 2077

@Sun-2 Sun-2 closed this as completed Nov 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant