nodejs / help

:sparkles: Need help with Node.js? File an Issue here. :rocket:
1.44k stars 276 forks source link

npm ERR! code E404 when running the "npx creat-react-app primeiro_app" command at the prompt. How to fix it? #4289

Closed gbsufscar closed 2 months ago

gbsufscar commented 8 months ago

Details

I'm using Node.js version v20.9.0, and when I try to run the command npx creat-react-app primeiro_app at the prompt, return the error:

> npx crate-react-app primeiro_app
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/crate-react-app - Not found
npm ERR! 404
npm ERR! 404  'crate-react-app@*' is not in this registry.
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
[2023-11-08T09_27_12_240Z-debug-0.log](https://github.com/nodejs/help/files/13294845/2023-11-08T09_27_12_240Z-debug-0.log)
[2023-11-08T09_27_12_240Z-debug-0.log](https://github.com/nodejs/help/files/13294853/2023-11-08T09_27_12_240Z-debug-0.log)
npm ERR! A complete log of this run can be found in: C:\Users\gbsuf\AppData\Local\npm-cache\_logs\2023-11-08T09_27_12_240Z-debug-0.log
[2023-11-08T09_27_12_240Z-debug-0.log](https://github.com/nodejs/help/files/13294908/2023-11-08T09_27_12_240Z-debug-0.log)
[2023-11-08T09_27_12_240Z-debug-0.log](https://github.com/nodejs/help/files/13294910/2023-11-08T09_27_12_240Z-debug-0.log)

Node.js version

Node.js version v20.9.0,

Example code

npx creat-react-app primeiro_app

Operating system

Windows

Scope

Other

Module and version

Not applicable.

VoltrexKeyva commented 8 months ago

npx crate-react-app primeiro_app

It's create-react-app, not crate-react-app.

harshai07 commented 6 months ago

yah its' create-react app for npx

harshai07 commented 6 months ago

npx crate-react-app primeiro_app

It's create-react-app, not crate-react-app.

npx create-react-app appname this is correct one you need give the react app name

udaybagda commented 6 months ago

Use proper command for create project. use npx create-react-app your application name

MaheshBScCs commented 4 months ago

Write command for create project. npx create-react-app your project name

ousey-ousey commented 4 months ago

just type -error

basma411 commented 3 months ago

C:\Users\asus>npx create-react-app your project name npm ERR! code E404 npm ERR! 404 Not Found - GET https://registry.npmjs.org/create-react-app npm ERR! 404 npm ERR! 404 'create-react-app@*' is not in this registry. npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in: C:\Users\asus\AppData\Local\npm-cache_logs\2024-03-18T01_18_48_574Z-debug-0.log

ammoriddin commented 3 months ago

I was installing million first of all i wrote the code in my git bash npm i million it installed but then i was installing this npm install --save-dev @million/babel-plugin but it didn't work so return me this: npm ERR! code E404 npm ERR! 404 Not Found - GET https://registry.npmjs.org/@million%2fbabel-plugin - Not found npm ERR! 404 npm ERR! 404 '@million/babel-plugin@*' is not in this registry. npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\CyberAcademy.uz\AppData\Local\npm-cache_logs\2024-03-31T11_51_56_715Z-debug-0.log

what can i do

VoltrexKeyva commented 3 months ago

@ammoriddin @million/babel-plugin does not exist, if you go to the registry page you'll see that it's not found, find the correct package you're trying to install.

RedYetiDev commented 2 months ago

The issues regarding typos (and such) appear to be resolved. If you have further issues, please open a new issue.