00:07 How to run your first React.js app using Visual Studio Code 01:28 Install Node.js and add it to the environment variables 02:59 Install Node.js and Visual Studio Code for React projects 04:22 Install the necessary extensions for working with React 05:41 Create a new React app using npx 07:04 Create a React.js project using the command npx create-react-app 08:29 After running the 'npx create react app' command, various files and modules are automatically installed. 09:53 Successfully ran our first React app
If someone is getting an error while entering npx create-react-app my-app So please first write nmp uninstall -g create-react-app nmp install -g create-react-app Enter
7:42 I'm getting error, errno -4058 npm ERR! enoent ENOENT: no such file or directory, lstat 'C:\Users\MyPC\AppData\Roaming pm' npm ERR! enoent This is related to npm not being able to find a file.
@@ambarishambarish3554 I don’t quite remember, I just kept trying and fixing with the directions provided on the terminal, if you read the error correctly there is where you are told to fix the issue
Hello sir...what should I do if I get an error saying "npx is not recognized",I followed all your steps but still getting this error and I don't know why...please help me out...😔
Those who are getting error while npx command like module not found Copy path upto roaming and search in file manager and created new folder named npm it works fine
Uncaught ReferenceError: node is not defined please recitify the solution. i step by step install in node js. but in terminal i go and type for node -v they will be showing Uncaught ReferenceError: node is not defined
thank you so much! I was having an issue to install react when adding it to the terminal. The issue that it needed to be updated as well because it's the first time in awhile that I haven't updated/used it.
@@unitedtoptech6288 yeah, at first, it seemed that I did a command prompt check to see what version I had. When I went this option, I was able to update it automatically. I'm very new to REACT on VS code and now it gives me an error of logging into the project I'm working on my first react project. I mean by doing the "NPM start" and it's giving me errors to go back into the project. It mentioned about the NPM doesn't seem to have a directory when I try to start it. I've only done Flask/Python with Virtual Environment to go live on the local host and exiting it, but not on REACT.
npx : The term 'npx' 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 + npx create-react-app my-reactapp + ~~~ + CategoryInfo : ObjectNotFound: (npx:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException I am getting this error.
I'm getting the error npx : The term 'npx' 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. pls help me
i installed all the extension like live server or javascript code snippets and node js before ( ihave made html project without react previously ) before downloading extensions of react in a C folder , will it cause problems if installe react library in D folder ?
@@unitedtoptech6288 npm error code ENOENT npm error syscall lstat npm error path C:\Users\Tharu\AppData\Roaming pm npm error errno -4058 npm error enoent ENOENT: no such file or directory, lstat 'C:\Users\Tharu\AppData\Roaming pm' npm error enoent This is related to npm not being able to find a file. npm error enoent
when we go with the command npm start in the terminal... you got option to choose which browser u wanna use but for me it directly opened in the internet browser. How to change that. I also want to open the react app project on chrome but i didnt get the option
Thanks a lot! 2 quick questions 1/can i delete the App.css, App.js, App.test.js, index.css, logo.svg, reportWebVitals.js, and setupTests.js from the src folder? 2/when i enter "npm start" and then close it and enter it again it will says the port 3000 already taken so what sould i do? thanks again ♡
npx create-react-app my-app error found: npx : The term 'npx' 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 + npx create-react-app first-project + ~~~ + CategoryInfo : ObjectNotFound: (npx:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
npx : The term 'npx' 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 + npx create-react-app ih + ~~~ + CategoryInfo : ObjectNotFound: (npx:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException I have this error
Please I'm getting this error npx: The term npx is not recognised 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
@@unitedtoptech6288im getting this error PS C:\Users\Deepit\Desktop\New folder (3)\New folder (4)> npx create-react-app amazon-clone npm ERR! code ENOENT npm ERR! syscall lstat npm ERR! path C:\Users\Deepit\AppData\Roaming pm npm ERR! errno -4058 npm ERR! enoent ENOENT: no such file or directory, lstat 'C:\Users\Deepit\AppData\Roaming pm' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! A complete log of this run can be found in: C:\Users\Deepit\AppData\Local pm-cache\_logs\2023-10-07T18_03_44_013Z-debug-0.log PS C:\Users\Deepit\Desktop\New folder (3)\New folder (4)>
Bro can you please fix my error npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Ashok sai\AppData\Local pm-cache\_logs\2023-06-30T16_26_53_501Z-debug-0.log PS C:\Users\Ashok sai\Desktop\React> npm start npm ERR! code ENOENT npm ERR! syscall open npm ERR! path C:\Users\Ashok sai\Desktop\React/package.json npm ERR! errno -4058 npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\Ashok sai\Desktop\React\package.json' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Ashok sai\AppData\Local pm-cache\_logs\2023-06-30T16_27_33_472Z-debug-0.log
'npx' is not recognized as an internal or external command, operable program or batch file. I am getting this error When I run create react app code in the terminal. help!
its a very common problem,go to the path specified there in the users and then find the AppData file in it (it might be hidden so change options to show hidden folders ) and create a file called 'npm' . it will work after this
cd. : The term 'cd.' 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 + cd. First-project + ~~~ + CategoryInfo : ObjectNotFound: (cd.:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException there is issue with me
npm : The term 'npm' 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 + npm uninstall -g create-react-app + ~~~ + CategoryInfo : ObjectNotF ound: (npm:String) [], CommandNotFou ndException + FullyQualifiedErrorId : CommandNot FoundException
I'm getting this error npx: The term npx is not recognised 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
hey man,, i used the following steos that you used until putting in the npx command into your VS Code Terminal, but it isnt working for me instead showing error. It also shows "The term 'npx' is not recognized as the name of a cmdlet, function, script file, or operable program."
I did everything in the video and used "node -v" to verify that node.js was correctly installed, but everytime I wwrite "npx create-react-app myApp" and hit Enter, I get this damn error message: npm ERR! code ENOENT npm ERR! syscall lstat npm ERR! path C:\Users\Invitado 1\AppData\Roaming pm npm ERR! errno -4058 npm ERR! enoent ENOENT: no such file or directory, lstat 'C:\Users\Invitado 1\AppData\Roaming pm' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent Any ideas? It would seem to suggest that it's looking for the *npm* file in C:\Users\Invitado 1\AppData\Roaming\ , but the npm and npx (and other) files were installed in "C:\Program Files odejs" in my computer. Maybe I need to change the path the terminal uses? I've no idea how to do that though. Very frustrating.
great video. The npm doesnt detect the 'npm' in c\users\hp\app data oaming after the npx create-react-app my-app command. Plz provide a solution for it.
@@unitedtoptech6288 I receive the npm error too. Not sure how to resolve it. npm ERR! code ENOENT npm ERR! syscall lstat npm ERR! path C:\Users\{user}\AppData\Roaming pm npm ERR! errno -4058 npm ERR! enoent ENOENT: no such file or directory, lstat 'C:\Users\{user}\AppData\Roaming pm' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent
npx : The term 'npx' 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 + npx create-react-app my-app + ~~~ + CategoryInfo : ObjectNotFound: (npx:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException can someone suggest
I'm having an error running the npm command, I tried clean reinstalling VS code and Node as well but it still show's errors. It displays something like npm ERR! CODE: ENOENT , please guide me with this issue
@@SaiPrakash-e6dyou can solve it by following these steps- In the terminal type - npm install -g npm@latest npm outdated npm update npm install tar@latest
I'm have been facing an error for some days now. Kindly assist PS C:\Users\RIK CONSORTIUM\OneDrive\Desktop eact project> npx create-react-app first-project npm ERR! code ENOENT npm ERR! syscall lstat npm ERR! path C:\Users\RIKCONSORTIUM\AppData\Roaming pm npm ERR! errno -4058 npm ERR! enoent ENOENT: no such file or directory, 1stat 'C:\Users\RIKCONSORTIUM\AppData\Roaming pm' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\RIKCONSORTIUM\AppData\Local pm-cache\_logs\2023-07-18T04 49 44_1182-debug-0.log
When im trying to create new react app, i got this type of error , what will i do? npm ERR! code ENOENT npm ERR! syscall lstat npm ERR! path C:\Users\jagad\AppData\Roaming pm npm ERR! errno -4058 npm ERR! enoent ENOENT: no such file or directory, lstat 'C:\Users\jagad\AppData\Roaming pm' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! A complete log of this run can be found in: C:\Users\jagad\AppData\Local pm-cache\_logs\2023-09-21T06_06_20_921Z-debug-0.log
npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap. changed 67 packages in 3s 5 packages are looking for funding run `npm fund` for details PS C:\Users\Dell\OneDrive\Desktop eact project> i am facing this while running the command, how to solve?
thanks so much its perfect you really help me but i got some challenge that i face it was restricted executionpolicy in power shell actually i fix it but if you can add it in your video
@ thanks! I had thought the simple hello world (1 html + 1 jsx) can be interpreted by the safari browser when I click on the html file….and was wondering why it didn’t work.
it still says error: npx : The term 'npx' 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 + npx create-react-app first-project + ~~~ + CategoryInfo : ObjectNotFound: (npx:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
npm ERR! code ENOENT npm ERR! syscall lstat npm ERR! path C:\Users\Balaji S\AppData\Roaming pm npm ERR! errno -4058 npm ERR! enoent ENOENT: no such file or directory, lstat 'C:\Users\Balaji S\AppData\Roaming pm' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! A complete log of this run can be found in: C:\Users\Balaji S\AppData\Local pm-cache\_logs\2023-12-03T08_23_29_597Z-debug-0.log
00:07 How to run your first React.js app using Visual Studio Code
01:28 Install Node.js and add it to the environment variables
02:59 Install Node.js and Visual Studio Code for React projects
04:22 Install the necessary extensions for working with React
05:41 Create a new React app using npx
07:04 Create a React.js project using the command npx create-react-app
08:29 After running the 'npx create react app' command, various files and modules are automatically installed.
09:53 Successfully ran our first React app
Damn thanks!
Perfect tutorial. Easy to follow and got me up and running quickly. Good extension recommendations too! 🙏
Glad you liked it!
If someone is getting an error while entering npx create-react-app my-app
So please first write
nmp uninstall -g create-react-app
nmp install -g create-react-app
Enter
Cool
Nahi ho raha help ar do yaar discord ha kya?
for?
thanks dude
thanks dude ❤🩹❤🩹
Thank you so much bro, good tutorial,that was a ggood thing using my first commands on the terminal😄
WELCOME BRO!!
I really loved this tutorial. It was explained in great detail and everything worked perfectly!! Thank you for this!!
You are so welcome!!!
@@unitedtoptech6288 bro even after putting the path its showing nodejs not recognized
Thank you very much man, you literaly saved my school project.
Glad I could help!
you deserve more than one following from me... you are very straight to the point and you have helped me a lot. I can't thank you enough
Most welcome man ❤😊
I'm getting an error at 7:45 sec after running command npx create-react-app first-project. Kindly help me out
Can you please paste the whole error?
7:42 I'm getting error,
errno -4058
npm ERR! enoent ENOENT: no such file or directory, lstat 'C:\Users\MyPC\AppData\Roaming
pm'
npm ERR! enoent This is related to npm not being able to find a file.
go inside that Roaming folder and creare a new folder named npm and restart vs code
@@unitedtoptech6288 its working Thanks !
Great
@@unitedtoptech6288Iam getting the same error bro...but it was not solved there is no appData folder in my PC
It is a hidden folder, go to view at top , enable hidden items
Great tutorial. Others go into VSC without first stating the need for node.js first. The tip about the environmental path was also important.
glad you liked it! Welcome
Everytime I try creating a react app I keep getting an error about 233 packages need funding, run “npm fund” etc, how can I fix this?
No idea bro, try searching in stackoverflow they seem to have some solutions
Asking for bread since it’s a free open source
Same problem bro how to solve this problem pls any help me solve this
@@ambarishambarish3554 I don’t quite remember, I just kept trying and fixing with the directions provided on the terminal, if you read the error correctly there is where you are told to fix the issue
@novemberxxi6092
Super bro its awesome to explain clearly and neatly 😊 and easy to understand
Thank you so much 😀
Good tutorial everything is very clear and understandable. Recomanded
Fantastic man , Thank you
I am not getting any error but the packaging downloding process is no ending plz tell me anybody know what to do
Did you download from the same one as I did?
Hello sir...what should I do if I get an error saying "npx is not recognized",I followed all your steps but still getting this error and I don't know why...please help me out...😔
npm i -g npx, tun this please
This video is super helpful, I went through 8 videos before my node and npm could start working and this is the only one who helped😂
Great to hear!
Such a beautiful tutorial thank you
Welcome!!
best beginner-friendly video
Glad it was helpful! Welcome :)
Those who are getting error while npx command like module not found
Copy path upto roaming and search in file manager and created new folder named npm it works fine
yes
how to do this?
go inside roaming folder, create a new folder and name it npm, you will have the full path of this folder in your error message
it's just perfect this video was very useful for me today, I had to submit my task today itself due to this video got my work submitted
Glad it helped! good luck
Uncaught ReferenceError: node is not defined please recitify the solution. i step by step install in node js. but in terminal i go and type for node -v they will be showing Uncaught ReferenceError: node is not defined
Can you pls check if you have added the right path in environment variable?
@@unitedtoptech6288 yeah, i add right path
@@unitedtoptech6288 please how to contact give me a tip coz i make a social impact application.
@@unitedtoptech6288 yeah, i had added right path
If you added the right path you won't get any error
thank you so much! I was having an issue to install react when adding it to the terminal. The issue that it needed to be updated as well because it's the first time in awhile that I haven't updated/used it.
You're welcome! 😊
Were you getting any error message because of this?
@@unitedtoptech6288 yeah, at first, it seemed that I did a command prompt check to see what version I had. When I went this option, I was able to update it automatically.
I'm very new to REACT on VS code and now it gives me an error of logging into the project I'm working on my first react project. I mean by doing the "NPM start" and it's giving me errors to go back into the project. It mentioned about the NPM doesn't seem to have a directory when I try to start it. I've only done Flask/Python with Virtual Environment to go live on the local host and exiting it, but not on REACT.
Yeah maybe you are not inside the right folder, try giving cd command and going to the react project subfolder
Thank you sir😇 for your detailed and clear explanation.
You are most welcome
npx : The term 'npx' 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
+ npx create-react-app my-reactapp
+ ~~~
+ CategoryInfo : ObjectNotFound: (npx:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
I am getting this error.
install latest version of node js and try again
@@27mohammedibrahim43 I have restarted my pc, And it's working..
Great bro
I'm getting the error
npx : The term 'npx' 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.
pls help me
npm i -g npx, try running this
I installed everything but uts showing the term npx is not recognized as the name of cmdlet what to do
npm i -g npx, run this
i installed all the extension like live server or javascript code snippets and node js before ( ihave made html project without react previously ) before downloading extensions of react in a C folder , will it cause problems if installe react library in D folder ?
No extensions are global and will work irrespective of where you open your project folder
You should be addressing the error after the first npx create command. It took me a hell lot of time to fix that.
What was the error? I did not get any
how did you fix it?
Can you paste the whole error here?
@@unitedtoptech6288 npm error code ENOENT
npm error syscall lstat
npm error path C:\Users\Tharu\AppData\Roaming
pm
npm error errno -4058
npm error enoent ENOENT: no such file or directory, lstat 'C:\Users\Tharu\AppData\Roaming
pm'
npm error enoent This is related to npm not being able to find a file.
npm error enoent
go to this path C:\Users\Tharu\AppData\Roaming\ and create an empty folder named npm
bro u are the best good tutorial broo!
Thanks bro!
Excellent Tutorial! Thank You, Sir.
Glad you enjoyed it!
when we go with the command npm start in the terminal... you got option to choose which browser u wanna use but for me it directly opened in the internet browser. How to change that. I also want to open the react app project on chrome but i didnt get the option
Just change your default browser in windows settings to chrome
For every react project do we need to perform the same installation. Every time have to install like this or not
yeah for every new one
Thanks a lot!
2 quick questions
1/can i delete the App.css, App.js, App.test.js, index.css, logo.svg, reportWebVitals.js, and setupTests.js from the src folder?
2/when i enter "npm start" and then close it and enter it again it will says the port 3000 already taken so what sould i do?
thanks again ♡
If you delete App.js it wont work , so try modifying the content there, for port number try changing to any other number
npx create-react-app command is deprecated and no longer being maintained, mostly common used technologies now are next or vite
for practice this is fine
npx create-react-app my-app
error found:
npx : The term 'npx' 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
+ npx create-react-app first-project
+ ~~~
+ CategoryInfo : ObjectNotFound: (npx:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
npm i -g npx, try running this
Helpful video. Thanks!
Thank You so much, you saved so much time for me 🙌❤
You're so welcome!
npx : The term 'npx' 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
+ npx create-react-app ih
+ ~~~
+ CategoryInfo : ObjectNotFound: (npx:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
I have this error
npm i -g npx, run this
Really a Nice Video i done it everything you do sir...👍
Thats great to know man
Very good job! Loved the tutorial
Thank you so much!
Thankyou so much because has a unique explantion . Its really help me
nice! thanks
Nice video, thank you so much. It really helped me.
thnaks, spot on step by step guide. (a little hard to understand the accent but does the job. ) jay ho
You're welcome!
Thank your bro you got rid of my headache
welcome bro!
Thanks brother, love from India ❤
Welcome Bro!!😊
A very clean explanation about the content.
Glad you liked it !! cool
Please I'm getting this error npx: The term npx is not recognised 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
C:\Users\”system user name”\AppData\Roaming
pm add this path to environment variables, replace your system name folder in the quoted space
@@unitedtoptech6288im getting this error
PS C:\Users\Deepit\Desktop\New folder (3)\New folder (4)> npx create-react-app amazon-clone
npm ERR! code ENOENT
npm ERR! syscall lstat
npm ERR! path C:\Users\Deepit\AppData\Roaming
pm
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, lstat 'C:\Users\Deepit\AppData\Roaming
pm'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in: C:\Users\Deepit\AppData\Local
pm-cache\_logs\2023-10-07T18_03_44_013Z-debug-0.log
PS C:\Users\Deepit\Desktop\New folder (3)\New folder (4)>
You need to create an empty folder named npm under that appdata/roaming folder path
Bro can you please fix my error
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Ashok sai\AppData\Local
pm-cache\_logs\2023-06-30T16_26_53_501Z-debug-0.log
PS C:\Users\Ashok sai\Desktop\React> npm start
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path C:\Users\Ashok sai\Desktop\React/package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\Ashok sai\Desktop\React\package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Ashok sai\AppData\Local
pm-cache\_logs\2023-06-30T16_27_33_472Z-debug-0.log
Did u use the cd command before using npm start?
Bro I am also coming like that what can I do
did you try cd with ur project name bro?
'npx' is not recognized as an internal or external command,
operable program or batch file.
I am getting this error When I run create react app code in the terminal. help!
can you please check if you have addded node js path in environment variable?
its a very common problem,go to the path specified there in the users and then find the AppData file in it (it might be hidden so change options to show hidden folders ) and create a file called 'npm' .
it will work after this
thanks man@@ohm_chiluka
Great!
Didn't open any brower in the last all process done but local host didn't open
do you get any error message in console?
Bro i got " local host refused error" what should I do
During what step you get this?
cd. : The term 'cd.' 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
+ cd. First-project
+ ~~~
+ CategoryInfo : ObjectNotFound: (cd.:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
there is issue with me
only cd, u have cd. I guess
this is what i was looking for!
i followed the tutorial but its getting the error at (07:50)
npm : The term 'npm' 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
+ npm uninstall -g create-react-app
+ ~~~
+ CategoryInfo : ObjectNotF
ound: (npm:String) [], CommandNotFou
ndException
+ FullyQualifiedErrorId : CommandNot
FoundException
U need to install node js and add npm path in environment variable
@@unitedtoptech6288 how can I add npm path in environment variable
I guess adding node js is enough, try restarting vscode after adding that path
what about npm install -g create-react-app ?
Welcome
npx create-react-app
when i'm pasted this in new terminal its created alots of error. tell me what can i do
I have replied
throw err;
^
Error: Cannot find module 'C:\Users\Adarsh\AppData\Roaming
pm
ode_modules
pm\bin
px-cli.js'
getting this error
C:\Program Files
odejs , add this path in env variable, replacing the old one
Bro error solved copied that path upto roaming and searched in file manager and created new folder named npm working now
Ohh okay bro cool
Hii bro one small doubt, what command did you run in terminal to get this error?
@@unitedtoptech6288 npx create-create-app first-project
I'm getting this error npx: The term npx is not recognised 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
You need to ask node js and npm paths to the environment variables
@@unitedtoptech6288 I am getting the same error. How to ask node js and npm paths to the environment variable?
I have shown adding node js path
hey man,, i used the following steos that you used until putting in the npx command into your VS Code Terminal, but it isnt working for me instead showing error. It also shows "The term 'npx' is not recognized as the name of a cmdlet, function, script file, or operable program."
Bro same problem do you know how to solve
C:\Users\”system user name”\AppData\Roaming
pm try adding this path to env variable and restart vscode
@@unitedtoptech6288 I didn't the npm file or folder in the path what in can do??
Try creating a new folder named npm
@@unitedtoptech6288 hi i have encountered the same problem if you please help me out it would be great
can u fix my pb
npm warn deprecated tar@2.2.2 : this version is no longer supported , and will not recieve security updates. please upgrade asap
tar's latest version is 6 I guess now, you need to update it
I installed the extension but when I run a react program it just show code language not supported or defined.. Is there any solution for it
Can you please paste the whole error?
I did everything in the video and used "node -v" to verify that node.js was correctly installed, but everytime I wwrite "npx create-react-app myApp" and hit Enter, I get this damn error message:
npm ERR! code ENOENT
npm ERR! syscall lstat
npm ERR! path C:\Users\Invitado 1\AppData\Roaming
pm
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, lstat 'C:\Users\Invitado 1\AppData\Roaming
pm'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
Any ideas? It would seem to suggest that it's looking for the *npm* file in C:\Users\Invitado 1\AppData\Roaming\ , but the npm and npx (and other) files were installed in "C:\Program Files
odejs" in my computer. Maybe I need to change the path the terminal uses? I've no idea how to do that though. Very frustrating.
C:\Users\Invitado 1\AppData\Roaming\ go to this path, create an empty folder named npm , restart vs code and run the command now
very clear explanation sir. thank you so much for your help
You are most welcome
Great video. Very easy to follow the steps. 👌👌
Glad it was helpful!
great video. The npm doesnt detect the 'npm' in c\users\hp\app data
oaming after the npx create-react-app my-app command. Plz provide a solution for it.
Can you please paste the full error?
@@unitedtoptech6288 I receive the npm error too. Not sure how to resolve it.
npm ERR! code ENOENT
npm ERR! syscall lstat
npm ERR! path C:\Users\{user}\AppData\Roaming
pm
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, lstat 'C:\Users\{user}\AppData\Roaming
pm'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
go inside roaming folder and create a new folder named npm
Error: Cannot find module 'C:\Users\clear-npx-cache\bin\clear-npx-cache.js'
Can you give this a solution
can you please paste the whole error message ?
npx : The term 'npx' 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
+ npx create-react-app my-app
+ ~~~
+ CategoryInfo : ObjectNotFound: (npx:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
can someone suggest
you need to add npm path under roaming folder to environment variables
how to add?
@@unitedtoptech6288
C:\Users\YOUR_USER\AppData\Roaming
pm add this path, change it accordingly
@@unitedtoptech6288sir why i can't see the npm?
how@@unitedtoptech6288
I'm having an error running the npm command, I tried clean reinstalling VS code and Node as well but it still show's errors.
It displays something like npm ERR! CODE: ENOENT , please guide me with this issue
Can you please paste the whole error?
broo i got same error, did you get solved
bro paste it here fully
@@SaiPrakash-e6d Yeah actually I solved it, it was due to deprecated tar@2.2.2 ...for at least it was this issue
@@SaiPrakash-e6dyou can solve it by following these steps-
In the terminal type -
npm install -g npm@latest
npm outdated
npm update
npm install tar@latest
thank you sir for your guidance to install the package
welcome 👍 sir
I'm have been facing an error for some days now. Kindly assist
PS C:\Users\RIK CONSORTIUM\OneDrive\Desktop
eact project> npx create-react-app first-project
npm ERR! code ENOENT
npm ERR! syscall lstat
npm ERR! path C:\Users\RIKCONSORTIUM\AppData\Roaming
pm
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, 1stat 'C:\Users\RIKCONSORTIUM\AppData\Roaming
pm'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\RIKCONSORTIUM\AppData\Local
pm-cache\_logs\2023-07-18T04 49 44_1182-debug-0.log
have u solve it?
@@eve1881 yes, I already did
@@rferabel can u tell me how ?
Check if you have added npm path in the environment variables
When click windows installer chrome shows a privacy error
What i do🤔
installer? after what step do you get this error?
Sir, In system variables after clicking the path there is unable click edit option . What's the reason ?
Try in user variables then, are you the system admin?
When im trying to create new react app, i got this type of error , what will i do?
npm ERR! code ENOENT
npm ERR! syscall lstat
npm ERR! path C:\Users\jagad\AppData\Roaming
pm
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, lstat 'C:\Users\jagad\AppData\Roaming
pm'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in: C:\Users\jagad\AppData\Local
pm-cache\_logs\2023-09-21T06_06_20_921Z-debug-0.log
You need to go inside that appdata
oaming folder as shown in the error message and check if npm folder is present, if not create a folder named npm
@@unitedtoptech6288 yes, I created npm folder
Now it is resolved
Cool!!
@@yamunanaramsetti5418how to do that i cant do can u explain me pls
Very Helpfull Thank You All the best .
Thanks you so much sir! such a wonderful tutorial. ☺☺
Thank you too Sir! All the best
sir in terminal for me getting npm err then what should we do ?
Can you paste the whole error?
npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
changed 67 packages in 3s
5 packages are looking for funding
run `npm fund` for details
PS C:\Users\Dell\OneDrive\Desktop
eact project>
i am facing this while running the command, how to solve?
npm i tar, run this command please
Working now.Thank You @@unitedtoptech6288
cool
if it is showing error on npx line use the code Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass and then try works for me
So how did you make it work?
Thank you so much for this perfect tutorial.
You're very welcome!
How to fix the error when we get while creating npx first step?
during what step do you get this error?
thanks so much its perfect you really help me but i got some challenge that i face it was restricted executionpolicy in power shell actually i fix it but if you can add it in your video
Can you pls paste the whole error you got?
i don't understand why to install node js ? is it necessseary to work with react js?
Yeah it is necessary for installing npm packages and if you do any backend code
very helpful video. thanks and well done
such a wonderful and easy explaination
Glad you liked it!!
Hello, is node js is must for me to run hello world React in Vs.code?
yeah it is, without it react app can't be created
@ thanks! I had thought the simple hello world (1 html + 1 jsx) can be interpreted by the safari browser when I click on the html file….and was wondering why it didn’t work.
here we also need to install many packages and node modules which can be done using npm node package manager which aren't required in html and css
Thank you sir, highly recommend to beginners
So nice of you
@@unitedtoptech6288 because ur videos are so useful 😁
Thanks man
Need to install the following packages:
Create-react-app@5.0.1
Ok to proced? (y)
How to bug the error??
click on the y key
Create nhi ho raha hai ' cannot find module "block stream" ' error aa rahi hai
How can i fix it😢
After running what command are you getting this error?
thanks, sir for the step-by-step guidance
Happy to help!!
The term npx is not recognised it is comming what to after pasting a command
Have you added node path in environment variable?
it still says error: npx : The term 'npx' 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
+ npx create-react-app first-project
+ ~~~
+ CategoryInfo : ObjectNotFound: (npx:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
You need to add the path appdata/roaming/npm in environment variable and rerun
bro thanks 🙏❤❤❤ it finally worked ❤❤
Welcome 👍
I'm still getting an error code when I run the npx project name code
Can u tell me what error you are getting?
Thank you very very very much sir..........Explained ..wellllllllll....
So nice of you
help me how to fix this ( 6 high severity vulnerabilities?)
Did you solve this ?
showing erros while creating the react project can u help??
can you type the whole error?
@@unitedtoptech6288 problem solved , only npm folder was needed to be created
ohh cool
Sir I am getting error in terminal while I typed npx create-react-app
Can you paste the whole error?
npm ERR! code ENOENT
npm ERR! syscall lstat
npm ERR! path C:\Users\Balaji S\AppData\Roaming
pm
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, lstat 'C:\Users\Balaji S\AppData\Roaming
pm'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in: C:\Users\Balaji S\AppData\Local
pm-cache\_logs\2023-12-03T08_23_29_597Z-debug-0.log
go to this path C:\Users\Balaji S\AppData\Roaming and create a folder named npm and run this command
thanks Sir! Excellent video.
You are welcome!
7:52 im getting some errors 😢
What error are you getting?
Very nice video....
Thank you very much...