cannot create a new react project using create-react-app
Published: 2021-01-08 15:49:04

Hello,

please this is important.

I AM ONLINE CLASS AND because of this error I cannot move forward to finish my course,
I've been on it for 2 days,

I ask you to help me please

I tried the command as indicated on the official react doc but nothing works there even with the --cache and --force argument whether with npx or yarn or npm, of course I have the latest versions of these utilities in stable version.

I still have the same message refusing installation and initialization of the package-template of CRA

here are the first lines when I run the command:

Creating a new React app in / Users / macbookpro / Desktop / test.

Install packages. This may take a few minutes.
Installing the react, react-dom and react-scripts scripts with cra-template ...

➤ YN0000: ┌ Resolution step
➤ YN0032: │ fsevents @ npm: 2.3.1: Implicit dependencies on node-gyp are deprecated
➤ YN0032: │ fsevents @ npm: 2.3.1: Implicit dependencies on node-gyp are deprecated
➤ YN0061: │ chokidar @ npm: 2.1.8 is deprecated: Chokidar 2 will break on node v14 +. Upgrade to chokidar 3 with 15 times less dependencies.
➤ YN0061: │ fsevents @ npm: 1.2.13 is deprecated: fsevents 1 will be terminated on node v14 + and could use unsafe binaries. Go to fsevents 2.
➤ YN0061: │ rollup-plugin-babel @ npm: 4.4.0 is obsolete: this package is obsolete and is no longer maintained. Please use @ rollup / plugin-babel.
➤ YN0061: │ request @ npm: 2.88.2 is obsolete: the request is obsolete, see https://github.com/request/request/issues/3142
➤ YN0061: │ @ hapi / joi @ npm: 15.1.1 is deprecated: go to 'npm install joi'


here is the return message when processing is finished:

➤ YN0000: └ Completed in 4m 29s
➤ YN0000: ┌ Recovery step
➤ YN0013: │ import-local @ npm: 2.0.0 cannot be found in the cache and will be extracted from the remote registry
➤ YN0013: │ import-local @ npm: 3.0.2 cannot be found in the cache and will be fetched from the remote registry
➤ YN0013: │ imurmurhash @ npm: 0.1.4 cannot be found in the cache and will be extracted from the remote registry
➤ YN0013: │ indent-string @ npm: 4.0.0 cannot be found in cache and will be retrieved from remote registry
➤ YN0013: │ indexes-of @ npm: 1.0.1 cannot be found in cache and will be retrieved from remote registry
➤ YN0066: │ fsevents @ patch: fsevents@npm%3A2.2.1#builtin <compat / fsevents> :: version = 2.2.1 & hash = 127e8e: Cannot apply chunk # 1 (set enableInlineHunks for details)
➤ YN0013: │ infer-owner @ npm: 1.0.4 cannot be found in the cache and will be fetched from the remote registry
➤ YN0013: │ inflight @ npm: 1.0.6 not found in cache and will be extracted from remote registry
➤ YN0013: │ inherits @ npm: 2.0.1 not found in cache and will be retrieved from remote registry
➤ YN0013: │ inherits @ npm: 2.0.3 cannot be found in cache and will be retrieved from remote registry
➤ YN0013: │ inherits @ npm: 2.0.4 not found in cache and will be retrieved from remote registry
➤ YN0066: │ fsevents @ patch: fsevents@npm%3A2.3.1#builtin <compat / fsevents> :: version = 2.3.1 & hash = 127e8e: Could not apply song # 1 (set enableInlineHunks for details)
➤ YN0013: │ yaml @ npm: 1.10.0 cannot be found in the cache and will be extracted from the remote registry
➤ YN0013: │ yargs-parser @ npm: 13.1.2 cannot be found in the cache and will be extracted from the remote registry
➤ YN0013: │ yargs-parser @ npm: 18.1.3 cannot be found in the cache and will be fetched from the remote registry
➤ YN0013: │ yargs @ npm: 13.3.2 cannot be found in the cache and will be extracted from the remote registry
➤ YN0013: │ yargs @ npm: 15.4.1 cannot be found in the cache and will be fetched from the remote registry
➤ YN0000: └ Completed in 4s 548ms
➤ YN0000: failure with errors in 4m 33s

Cancellation of the installation.
yarnpkg add --exact react react-dom react-scripts cra-template --cwd / Users / macbookpro / Desktop / test failed.

Deleting the generated file ... package.json
Deleting the generated file ... yarn.lock
Finished.

Best regards.