Accidentally i discovered your youtube tutorials. You are the greatest tutor as far as i know. The best of the best. Glad that accident happened. After 19 years of IT industry experience, this year i am venturing into the Front End, Backend domain. And your webtutorials are the best.
@adidasP48 жыл бұрын
For the amount of effort you put into this channel you deserve lots more subscribers
@NetNinja8 жыл бұрын
Thanks so much :). Really glad you like!
@adidasP48 жыл бұрын
+The Net Ninja I learnt a lot from you, keep it up
@tomergueta91258 жыл бұрын
Agreed! Well done.
@abdul-hameedbadrudeenadewu98062 жыл бұрын
You're really doing a great job here man. I'm very grateful
@BigBossPapaPimp7 жыл бұрын
These are by far the best node tutorials on the web.
@mulscoding3 жыл бұрын
The best explanation on what package.json and dependancies are.
@therealkayode3 жыл бұрын
Love your sense of humor bro. Thanks for the insight!
@forrestcarlton30657 жыл бұрын
I've been using express only by knowing "How", not "Why". You have helped me figure out the "Why", my good sir... I never knew that the npm install command was installing dependencies, so thanks for that!
@RuggieroGuida6 жыл бұрын
Amazing series of tutorials on node.js. Great work!
@ijharansari26176 жыл бұрын
I am glad Net ninja exist. Otherwise i would never have cleared my doubts. I am proud of you.
@AlbaAmara7 жыл бұрын
The install and uninstall do not work the same way anymore. In order to uninstall without removing the dependencies I need to run this command "npm uninstall express --no-save"
@AlbaAmara7 жыл бұрын
could it be that we were using different npm version? I am using npm version 5.0.3
@onurcoskun39427 жыл бұрын
thank you, i was thinking that why my dependencies disappear when just uninstall :D
@jos30085 жыл бұрын
why i cant delete my modules. ive tried using npm uninstall express & npm uninstall express --no-save but the module is remain there, along with the file. like so many
@shadmanmartinpiyal40574 жыл бұрын
@@jos3008 If you use "npm uninstall express" your dependencies property of the package.json file will be empty. Then if you use "npm uninstall express -no-save" , it will be alright. I am using node v12.16.3
@praveenpoonja953 жыл бұрын
Without -save flag the npm package still be added to package.json. so what is the use of the flag when we can use --no-save to retain it
@Marv3Lthe14 жыл бұрын
Since last two tutorials, express has been installed and uninstalled several times. meanwhile Express: Am I a joke to you?
@samantha66703 жыл бұрын
I really like how you explain. Thank you Shauwn.
@CAPS_AMERICA3 жыл бұрын
C'mon guys, 135k views but only 1.9k likes? Where is the love? Shaun's free tutorials deserve more likes!!!
@uzair0044 жыл бұрын
update: you don't have to specify -save flag in latest version of npm (5.0 & above). all modules are automatically added as dependency in package.json file.
@casual_gaming_52 жыл бұрын
but it also removes it after uninstall
@agnesnduta59244 жыл бұрын
Thanks for the video. The steps are clear and easy to follow.
@wpfbeginner6 жыл бұрын
Excellent tutorials! You have done a great job and have put in lot of efforts. Thanks
@Warsoulxx8 жыл бұрын
only 485 views? you are doing awesome job explaining, im currently starting to learn nodejs and your videos are really good for starters
@varunsr246 жыл бұрын
43k views now :)
@gopalji446 жыл бұрын
51322 views now date2013-08-13
@ridl276 жыл бұрын
62 821, 2018-12-10
@salmamehanny40306 жыл бұрын
69,209 views now
@jos30085 жыл бұрын
83.361, 2019-07-17
@darwinpose11957 жыл бұрын
I never Thought that I will learn that package.json because I've always see that file whenever I install some library :))
@jojojawjaw7 жыл бұрын
THANK YOU SO FUCKING MUCH! this really cleared out a lot of shit for me, I had no idea how the package.json file worked exactly, since the trainers in the coding bootcamp I went to, went over this real quick, and started teaching us with Express without any Node background, and I didn't bother to go study about it extensively which left me with a very minimal knowledge. Your videos are great help.
@mwmayerle7 жыл бұрын
Hey just an FYI I had to create the package.json file before I could install Express, but I'm on Ubuntu and it's 2017 so that might be why. I finished a bootcamp recently that focused on Ruby/Rails and I gotta say your videos for Node.js are pretty great. Thanks!
@koustubhmuktibodh49016 жыл бұрын
Very good tutorials yaar. It has every content
@simpsot_7 жыл бұрын
dude.....this isnt making much sense....as to how you dont have more views!!! you are an amazing teacher! please stay active!
@nadiak46337 жыл бұрын
you're superhit! your awesome tutorials helped me to understand many core principles that seemed to be confusing before. Thank you!
@NetNinja7 жыл бұрын
Glad you like them! :)
@rameshchilla17415 жыл бұрын
Excellent thank you so much this video helped me alot
@mufid41776 жыл бұрын
this video is very helpful. thanks for making node js easy for me
@marianivailov73194 жыл бұрын
Thanks, you are awesome!
@sintatri88474 жыл бұрын
I like it when you say below xD
@mmustafakhan46934 жыл бұрын
First of all, Thank you so much :) for such wonderful interactive and amazing and easy videos. believe me or not but I can feel a formidable change in my approach towards programming in general. however, presently in "Node JS Tutorial for Beginners #21 - The package.json File" If I'm uninstalling any package it is also removing the information from the package.json file? can anyone assist me?
When i run npm install express -save command, it's writing dependencies in package.json file but also creating a new file named package-lock.json. is this file necessary? and also love your explaination
@mrinnervoice90353 жыл бұрын
I tried npm uninstall and even npm uninstall -no-save... The node. Modules still exsist in mine forever.. I need to remove it manually..? What's wrong?
@cryptogf3 жыл бұрын
lmfao im super new to programming and after watching this video, it was the first time i ever typed something into my terminal without getting an error Lmfaooo
@johng52955 жыл бұрын
Thanks in a million
@AslamD7 жыл бұрын
Any idea why I get this notice when I install express? npm notice created a lockfile as package-lock.json. You should commit this file. I read the documentation regarding package-lock.json but didn't understood what it's saying exactly.
@gokufujison5 жыл бұрын
how do you make sure that an older version of package is still available after a few years?
@llCucoll7 жыл бұрын
Hello i have a question here. There is some versioning managed on the package.json, there is a way inside my code so I read or query the version on package.json of my code to present it to user?
@habibverse4 жыл бұрын
it has the same concept like container images ?
@TheGuroguro127 жыл бұрын
Thank you very much.
@brian43516 жыл бұрын
Hello. I'm having an issue when trying to launch a node.js application through Docker. Not sure of your experience with this, but I'm getting an npm ERR!: Missing Script: start. I have added a start script to the JSON file, but it does not remedy the issue. Any ideas on how I may fix this? The node.js app is a simple "hello world" app. Thanks if you're able to help.
@mzamomahaeng2684 жыл бұрын
excellent
@chintum7 жыл бұрын
When you install express i saw some progress of installation in the form of "######". How did it came ?
@melsaied1013 жыл бұрын
That’s great
@thinwhiteuke8 жыл бұрын
Bro u awesome, ty for the tutorials)
@Yash-Gaikwad6 жыл бұрын
what if there are two modules ''1. express'' ''2. express2(for example)'' and both have a couple of mutual dependencies, and you uninstall one of those, so you also removing what dependencies it brought, but now you uninstalled a dependencies which also used by another module, how system take care of that?
@boxmanpiyushgaming53393 жыл бұрын
00:54 bro when i am writing that it is showing me error please help
@nikolavladimirov12544 жыл бұрын
Tnx man!
@siddharthfultariya20047 жыл бұрын
i completed the tutorial but the problem i faced is when i execute the "npm uninstall express" command, it will uninstall dependencies as well form package.json what should i do? i have install express package by using "npm install express -save" command.
@art1co2 жыл бұрын
to me delete the dependency when i uninstall express why?
@dhruvsharma25955 жыл бұрын
How to start http server using node js??? It shows localhost 8080 but it doesn't connect????? What should I do???
@karttik271916 жыл бұрын
When uninstalling the express module, the dependency is also getting removed from the package.json file. Could you please clarify?
@PrabhuCP196 жыл бұрын
I too have the same issue. The dependency is also getting uninstalled. What is the reason?
@shivamhanda75274 жыл бұрын
try npm uninstall express --no-save
@NAMBINRAJAN6 жыл бұрын
What is devdependency and how it differ from dependency
@yavuzsengoz29117 жыл бұрын
I created package.json and then I installed express . when installing finished there has creating also package-lock.json file. I don't know it has something problem . bc I did not seen in your videos. So you are installed nodemon in 22. video and there is again not create package-lock.json file. What can I do for right move ?
@NetNinja7 жыл бұрын
Newer versions of npm create a package-lock file, this is absolutely normall and nothing to worry about. It's another way to track dependency trees.
@yavuzsengoz29117 жыл бұрын
Thanks for awasome tutorial and asnwer back my question. Actually I have problem from next Tutorial (#22). I installed nodemon global and it is start normal. Although I did the ones on the video step by step and change to 'contact' to 'contact-us' . Terminal show only " [nodemon] restarting due to changes..." but it is not start automaticaly like yours and cannot show "[nodemon] starting `node app.js `"... I might it must change in new version. So if it is change on new version , how can we fix it for auto start ?
@juanyang8385 жыл бұрын
how do I add modules in devDependencies object?
@yuiwong7796 жыл бұрын
in my case, when there is dependencies in the json file, I tried to uninstalled express. express and its dependencies folders are all removed together with express, and at the same time, the dependencies statement in the json file disappear too. Is this normal?
@PrabhuCP196 жыл бұрын
I too have the same issue. Have you figured out why that is happening?
@zeirash8 жыл бұрын
noob here, what's the difference between --save and -save when installing package?
@AlbaAmara7 жыл бұрын
I think there is no difference. I tried to search but didn't find much. Based on npm website page, the --save is used instead of -save
@jutt5527 жыл бұрын
i unistall express and run npm init than install again express but my dependencies is not showing in package.json
@cholowao5 жыл бұрын
```npm install express --save```
@srinjoyghosh14675 жыл бұрын
when i am installing and saving express , a package-lock.json file is geting created. Why is it happening??
@nguyenquan48365 жыл бұрын
package-lock.json exist from creating the project.
@george47467 жыл бұрын
When i execute `npm uninstall express` it changes dependencies to "dependencies": {}, Why ?
@GAGANDEEPSINGH-jx4ky4 жыл бұрын
its because in newer versions, you need to so npm uninstall express --no-save to make no changes in package.json file
@knowledgeispower98407 жыл бұрын
npm install express -save is not working after npm init
@bimalgrg89518 жыл бұрын
npm install express --save "To save dependencies in package.json file."
@SCAPTION.3 жыл бұрын
PS C:\Users\Shaun\Documents\My Web Sites\KZbin Sites ode-js-playlist> npm init description: a little test app keywords: fun, ninjas author: me y "PS C:\Users\Shaun\Documents\My Web Sites\KZbin Sites ode-js-" //não escreva, ele aparece isso Escreva ao lado: npm install express -save //para dessistalar, ao lado: npm uninstall express
@TheYuliyF8 жыл бұрын
How do you open a commander line in Atom? Isit some package?
@malteeaser1018 жыл бұрын
I think he showed in one of the first tutorials on how to install the command line plugin for Atom.
@TheYuliyF8 жыл бұрын
thanks, it was in second
@malteeaser1018 жыл бұрын
American Outsider I use PowerShell and cmd.exe, which automatically works with node when you install it, but I doubt know if you can use 'dir' to list folders in current directory and 'cd' to change directory?
@HaBhBo8 жыл бұрын
in windows, do to the folder you want to be in and open it, click on the shift key then the right mouse button, and you will notice an option, open command line here, click that and have fun. also google how to navigate with the cmd it's very useful
@vaibhavverma4344 жыл бұрын
Do you take donations?
@NetNinja4 жыл бұрын
Hi :). I do, either here on the channel (join button) or via paypal or patreon. The paypal link is: www.paypal.me/thenetninja . Thank you very much for asking, and for any donation you may make. I really appreciate it!
I have been searching for a method to view your J.s in the web browser with Atom. Every time i try to open-in-browser my html loads but my j.s won't. anyone know how i can fix?