Skip to content

Hello friends, what is the solution to these errors? #12756

@mohmmed2001

Description

@mohmmed2001

npm ERR! code ECONNRESET
npm ERR! errno ECONNRESET
npm ERR! network Invalid response body while trying to fetch https://registry.npmjs.org/react-refresh: aborted
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Web Developer\AppData\Local\npm-cache_logs\2022-10-01T06_59_22_092Z-debug-0.log
npm install --no-audit --save --save-exact --loglevel error react react-dom react-scripts cra-template has failed.

Deleting generated file... package.json
Deleting cybtog/ from C:\Users\Web Developer\Desktop\neew web
Done.
npm notice
npm notice New minor version of npm available! 8.15.0 -> 8.19.2
npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.19.2
PS C:\Users\Web Developer\Desktop\neew web\cybtog> npx create-react-app .

Creating a new React app in C:\Users\Web Developer\Desktop\neew web\cybtog.

Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...

npm ERR! code ERR_SOCKET_TIMEOUT
npm ERR! network Socket timeout
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Web Developer\AppData\Local\npm-cache_logs\2022-10-01T07_15_53_357Z-debug-0.log

Aborting installation.
npm install --no-audit --save --save-exact --loglevel error react react-dom react-scripts cra-template has failed.

Deleting generated file... node_modules
Deleting cybtog/ from C:\Users\Web Developer\Desktop\neew web
Done.
PS C:\Users\Web Developer\Desktop\neew web\cybtog> csl
csl : The term 'csl' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if
a path was included, verify that the path is correct and try again.
At line:1 char:1

  • csl

PS C:\Users\Web Developer\Desktop\neew web\cybtog> npm create-react-app .
Unknown command: "create-react-app"

To see a list of supported npm commands, run:
npm help
PS C:\Users\Web Developer\Desktop\neew web\cybtog> npx create-react-app .

Creating a new React app in C:\Users\Web Developer\Desktop\neew web\cybtog.

Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...

npm ERR! code ERR_SOCKET_TIMEOUT
npm ERR! network Socket timeout
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Web Developer\AppData\Local\npm-cache_logs\2022-10-01T07_19_07_187Z-debug-0.log

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions