🔴 Complete NPM In 20Mintues | Import NPM Module in Node.JS in Hindi in 2020 #13

Поделиться
HTML-код
  • Опубликовано: 22 авг 2024
  • Welcome, what is NPM(Node Package Manager) In 20Min | Import NPM Module in Node.JS in Hindi in 2020
    ************ Must Watch Videos For Web Development ************
    ➡️ Hooks in React JS in Hindi | useState in Hook in React JS: • #30: Hooks in React J...
    ➡️ Array Destructuring in ES6 in JavaScript in Hindi 2020: • ES6 Tutorial #5: Array...
    ➡️ Object Destructuring in ES6 in JavaScript in Hindi: • ES6 Tutorial #7: Objec...
    ➡️ React DevTools & Source Code Link: www.thapatechn...
    ➡️ ReactJS Tutorial in Hindi 2020 Playlist Link: • React JS Tutorial in H...
    ➡️ ReactJS JavaScript Array Map Method in Hindi with Example: • ReactJS JavaScript Arr...
    ➡️ Fat Arrow Function in JavaScript in Hindi 2020: • ES6 Tutorial #8: Fat A...
    ➡️ #23: Array in React JS in Hindi | React JS Project Netflix App #2 in Hindi in 2020
    ➡️ Array in JavaScript in Hindi: • JavaScript Tutorial in...
    ➡️ #22: React JS Project Netflix App Part #1 in Hindi in 2020: • #22: Props in React Js...

    ➡️ Install VS Code for ReactJS LINK: www.thapatechn...
    ➡️ Check Complete Reactjs in One video here 👇 • ReactJS For Beginners ...
    ➡️ HTML in One Video: • Learn HTML in One Vide...
    ➡️ CSS in One video: • Learn Complete CSS In ...
    ➡️ CSS FlexBox in 30 Minutes: • CSS FlexBox in 30 Minu...
    ➡️ JavaScript in One video: • JavaScript in One Vide...
    ➡️ ECMAScript 6 in One Video: • ES5 & ES6 | ECMAScript...
    ➡️ HTML5 in one video: • HTML5 Tutorial in One ...
    ➡️ CSS3 in one video: • Learn Complete CSS3 In...
    ➡️ Bootstrap4 in One video: • Bootstrap 4 in One Vid...
    ➡️ Jquery in One video: • jQuery in One Video in...
    ➡️ JSON in one video: • JSON in One Video in H...
    ➡️ ReactJS in one video: • ReactJS For Beginners ...
    ➡️ PHP in One Video: • PHP TUTORIAL IN ONE VI...
    ➡️ NodeJS in one video: / ipnwakoibt
    ➡️ MySQL in one video: • Complete SQL & MySQL i...
    ********** CLICK HERE TO WATCH ************
    ➡️ Fetch API in JavaScript: • Fetch API in JavaScrip...
    ➡️ AJAX tutorial for beginners in Hindi: • AJAX tutorial for begi...
    ➡️ Template literals (Template strings) in ES6 in JavaScript in Hindi: • ES6 Tutorial #3: Templ...
    ➡️ Async Await in JavaScript in Hindi: • Async Await in JavaScr...
    ➡️ Promises in JavaScript in Hindi: • Master The Promises in...
    ➡️ Callback Hell in JavaScript: • Callback Hell in JavaS...
    ➡️ Advanced JavaScript in Hindi Playlist: • Advanced JavaScript Tu...
    ➡️ ECMAScript Tutorial in Hindi 2020: • Modern JavaScript ES6 ...
    ➡️ ES5 & ES6 | ECMAScript 6 in One Video in Hindi: • ES5 & ES6 | ECMAScript...
    ➡️ JavaScript Game Development Series in 2020: • JavaScript Game Develo...
    ➡️ Source Code Link: www.thapatechn...
    ➡️ Top 5 Programming Languages in 2020: • Top 5 Programming Lang...
    ➡️ Ludo Game JavaScript Link: • JavaScript Game in Hin...
    ➡️Plz show some love to My Siter RUclips Channel and Plz Subscribe Link: / @mayabeautyvlogs878
    **************** MUST WATCH VIDEOS *****************
    ➡️ How to become a Full Stack Developer 2020: • How to become a Full S...
    ➡️ How To Become a Web Developer 2020: • How To Become a Web De...
    ➡️ How JavaScript Works: • How JavaScript Works i...
    ➡️ Follow me on Instagram: / vinodthapa55
    Make Website Responsive Using Media Queries in One Video in Hindi | Web Design Tutorial in Hindi
    ➡️ Link: • Make Website Responsiv...
    Guys, Please support my channel by SUBSCRIBE to my channel and share my videos in your Social Network TimeLines.
    Don't Forget to Follow me on all Social Network,
    Website Link: www.thapatechn...
    Instagram Link: / vinodthapa55
    Facebook Link: / vinodthapa55
    Twitter Link: / vb55thapa
    Facebook ThapaTechnical Page Link: www.facebook.c...

Комментарии • 317

  • @ThapaTechnical
    @ThapaTechnical  4 года назад +39

    It's very important n awesome video 🎉 hope you like it ❤️ plz share with your friends on whatsApp group ok🙏

    • @Sp-px7gn
      @Sp-px7gn 4 года назад +1

      Mongodb bhi start kro iske bad sir

    • @rsd2017
      @rsd2017 4 года назад

      Kya is channel par koi WhatsApp group h
      If it's there pls let me know...

    • @pintubarman3344
      @pintubarman3344 3 года назад

      sir, mongoDB with php in one video plz sir 🙏🙏🙏🙏

    • @shoaibkhan5776
      @shoaibkhan5776 3 года назад

      Sir i request u ...

    • @shoaibkhan5776
      @shoaibkhan5776 3 года назад

      Freelanceing k uper video bnao

  • @manikantasai6118
    @manikantasai6118 2 года назад +186

    !!!!!!! NOTE : The typescript is now outdated so now everyone should use "import chalk from 'chalk' " instead of "const chalk=require('chalk') " and everyone should change the extension of the file to ".mjs" from ".js" ;

    • @smitpatel3981
      @smitpatel3981 2 года назад +5

      why we you use .mjs instead of js any reason or why require is not work ??

    • @smitpatel3981
      @smitpatel3981 2 года назад

      please reply

    • @hitengupta5793
      @hitengupta5793 2 года назад +1

      thanks

    • @internship8369
      @internship8369 2 года назад +10

      @@smitpatel3981 now node forces us to use ECMAjavascript module (before it was CommonJS module) so everything is treated in import and export from instead of require and module.export to increase the code reusability. so we use ".mjs" extension and ' import chalk from "chalk" '

    • @akansharangari715
      @akansharangari715 2 года назад +1

      @Musical drug thanks 😊

  • @imamulhasan2956
    @imamulhasan2956 3 года назад +26

    Brother, I want to meet you at least once in my life .💖💖💖💖💖💖💖💖💖💖

  • @HitsofArif
    @HitsofArif Год назад +10

    Solution:
    Error [ERR_REQUIRE_ESM]: require() of ES Module C:\Users\Hitsof Arif\Desktop\arif
    ode_modules\chalk\source\index.js from C:\Users\Hitsof
    Arif\Desktop\arif\index.js not supported.
    Instead change the require of C:\Users\Hitsof Arif\Desktop\arif
    ode_modules\chalk\source\index.js in C:\Users\Hitsof Arif\Desktop\arif\index.js to a dynamic import() which is available in all CommonJS modules.
    code: 'ERR_REQUIRE_ESM'
    Ans:
    npm uninstall chalk
    then
    npm i chalk@4.1.2

  • @Q00997
    @Q00997 10 месяцев назад

    Sabse badhiya tutor hain aap, aaj tak jitne bhi course videos dekhe hain youtube pe usme itna acha kisine bhi nahi sikaya

  • @musiclovers8488
    @musiclovers8488 3 года назад +4

    Awesome bro!!
    Boom ho gayi like!! 😂😜

  • @MoumitaMurmu-yb4bm
    @MoumitaMurmu-yb4bm 3 месяца назад

    'CHALK' use kar k sach me chaukh gayi sir🤣. Thank you sir best tutorial in YT.

  • @codesetter2497
    @codesetter2497 Год назад +2

    Your "Boom Guyz" is amazing

  • @RishiRaj-ex9wb
    @RishiRaj-ex9wb 2 года назад +2

    We + Node = Vinod
    Great class group

  • @mohammadnoushadsiddiqui4786
    @mohammadnoushadsiddiqui4786 3 года назад

    thank you so much sir u r the great reason ke within three months main frontend developer ki job kr paaya and now m moving to backend

  • @GameStrings
    @GameStrings 10 месяцев назад +1

    That school wala example was funny 😜🤣

  • @sanketsuryawanshi
    @sanketsuryawanshi 4 года назад +3

    Awesome sir🤩❤ Congratulations for 200k subscribers

  • @JashJhaveri
    @JashJhaveri Год назад

    Thank you for going so deep into how it works and importance of each file. Great explanation

  • @puneetsharma936
    @puneetsharma936 2 года назад +1

    The best part I liked , complte form validation module.. thank you

  • @rahul-java-dev
    @rahul-java-dev 3 года назад +1

    Yes..liked alot. Thank you Thapa Sir. 👌👌🙌🙌

  • @DEEPANSHU_NAG
    @DEEPANSHU_NAG 4 года назад +7

    *_NODE JS WITH MONGO DB & MYSQL TUTORIALS_*
    *_HOW TO DEBUG IN VISUAL STUDIO CODE_* ❓

  • @datastructure_solved5839
    @datastructure_solved5839 3 года назад +1

    this was the best video in this playlist!

  • @hassaniqbal7702
    @hassaniqbal7702 3 года назад

    Hassan watching from Islamabad. Bohot acha kaam karrahe ho @ Vinod Bahadur Thapa

  • @KirtanPatel552
    @KirtanPatel552 Год назад +2

    if Any one facing one problem that
    const chalk = require('chalk')
    ^
    so they need to change extenstion from '.js' to '.mjs'

  • @imamulhasan2956
    @imamulhasan2956 3 года назад +1

    I watch your video 12 hours a day😍😍😍😍😍😍

  • @imamulhasan2956
    @imamulhasan2956 3 года назад

    Brother, I am a big fan of yours, I am a Bangladeshi. And I am your subscriber. I am learning watching your video on MARN Stack Development

    • @rihajul
      @rihajul 3 года назад

      Hi bro.. I am from Bangladesh also.. Can we talk?

    • @imamulhasan2956
      @imamulhasan2956 3 года назад

      yes... why not

  • @techsupports2521
    @techsupports2521 2 года назад +3

    content and package.json some this is changed
    new contant is- import chalk from "chalk";
    package.json - "type": "module", add on the top in package.json code

  • @shivamvora2285
    @shivamvora2285 4 года назад +1

    You well explained all tutorials

  • @codingbaba672
    @codingbaba672 3 года назад

    thanks yar in hindi we are getting everything that's awesome

  • @pramayusadal1475
    @pramayusadal1475 2 года назад +1

    If you are getting ESM error...
    1⃣ : npm uninstall chalk
    2⃣: npm i chalk@2.4.1
    than run ur code...
    it's really version problem of 5.0.0 something...

  • @imamulhasan2956
    @imamulhasan2956 3 года назад

    ami diner 12 ghonta watch your video. 😍

  • @user-ql7pw7ld1n
    @user-ql7pw7ld1n 2 месяца назад

    thank u so much..i completely understood npm

  • @priyanshukumar-it5wn
    @priyanshukumar-it5wn Год назад +3

    If you get error on chalk
    Install like this :
    Step 1: npm uninstall chalk
    Step 2: npm i chalk@4.1
    .2

  • @rajat-s-kale1771
    @rajat-s-kale1771 Год назад

    Your teaching is awesome

  • @amalasebastian9968
    @amalasebastian9968 2 года назад +3

    if u guyzz are facing problem ,you can use this command for installing chalk
    npm i chalk@4.1.1
    instead of npm i chalk

  • @apkaChotaBhai
    @apkaChotaBhai 3 года назад +1

    thank bro i am learning thnigs slowly and clearly

    • @Ayush-lj6pq
      @Ayush-lj6pq 2 года назад

      same bro

    • @apkaChotaBhai
      @apkaChotaBhai 2 года назад

      @@Ayush-lj6pq lekin bro yaar bhot se doubts aa re h

  • @AlokKumar-sy3jm
    @AlokKumar-sy3jm 4 года назад +1

    Maja aa gya bro.....🥳🥳🥳

  • @ahsanali-fo5cz
    @ahsanali-fo5cz Год назад

    your all videos is very helpful for me thanx sir

  • @unemployedcse3514
    @unemployedcse3514 3 года назад

    Require example of school is very nice ,examples are awesome bro 💞💞 finally awesome vedio🌹
    I practice it bro awesome 💞

  • @nitinshinde642
    @nitinshinde642 3 года назад

    hello better teacher than my clg teachers

  • @Dev-x3b
    @Dev-x3b 8 месяцев назад +1

    IF SOMEONE IS GETTING ERROR IN HELLO WORLD CODE U CAN DO THIS :-- ADD "type": "module", just above the debug option and in index.js instead of
    ' require ' use :- import chalk from 'chalk' ;

  • @binarybulletin
    @binarybulletin 2 года назад +2

    That is something to do with the version you are using which is I think 5.0.0
    npm uninstall chalk
    then
    npm i chalk@2.4.1
    now you can run your code
    const chalk = require('chalk'); console.log(chalk.blue('Hello world!'));

    • @rahulchilap6420
      @rahulchilap6420 2 года назад

      Thanks brother.i was stuck for 15 mins for the same..

    • @rajsoni1466
      @rajsoni1466 2 года назад

      Thanks bro 🙂

  • @hassaniqbal7702
    @hassaniqbal7702 3 года назад

    Awesome videos. Vinod Thapa

  • @muhammadosama5499
    @muhammadosama5499 Год назад

    thanks for perfect teaching

  • @CodeWithAaron
    @CodeWithAaron 3 года назад +1

    Amazing Tutorial!!

  • @imamulhasan2956
    @imamulhasan2956 3 года назад

    vai love from bangladesh.

  • @azizulhakimashik1154
    @azizulhakimashik1154 3 года назад

    NIce tutorial bro
    Watched from Bangladesh

  • @bhushandhuri2660
    @bhushandhuri2660 Год назад +1

    When I'm watching this video, Chalk has more than 204M weekly downloads

  • @techpks5839
    @techpks5839 2 года назад +2

    Why in my case it shows es module require.....it says you have to write
    Import chalk from 'chalk'

  • @AbhishekGupta-wf7pw
    @AbhishekGupta-wf7pw 3 года назад

    bro, u r just awesome thanks bhai

  • @Ji-yoon
    @Ji-yoon 4 года назад +1

    Nice Video

  • @djkumarkumar5758
    @djkumarkumar5758 3 года назад

    Great tutorial @vinod.

  • @SumitKumar-vu6tf
    @SumitKumar-vu6tf 3 года назад +1

    Thanks so much supported

  • @easywebsolution7044
    @easywebsolution7044 2 года назад

    Thanks, Amazing Tutorial!!

  • @mdhasibhasan6963
    @mdhasibhasan6963 3 года назад +1

    We are waiting for him to appear on youtube fanfest though it might take a long time

  • @vnswebarts740
    @vnswebarts740 2 года назад +1

    please help chalk 5.0.0 version not supported or executed using require function.

  • @XengShi
    @XengShi 3 года назад

    This video is really Awesome

  • @Mayank-lf2ym
    @Mayank-lf2ym 3 года назад

    Best dialog 'hit kijiye click kijiye'

  • @abhishekpotfode533
    @abhishekpotfode533 Год назад +1

    if you getting error in using chalk, use older version .. npm i chalk@4.1.2

    • @vedantkulkarni3367
      @vedantkulkarni3367 Год назад

      Thank you so muchh
      i cant express how much you have helped me.
      was stuck on this since 4 hours😮‍💨

  • @bossysmaxx3327
    @bossysmaxx3327 3 года назад

    yess bro mujhe video axha (09:33 )laga...

  • @programmingwithjavascript3579
    @programmingwithjavascript3579 3 года назад

    Super duper tutorial 💓😍💓☺

  • @vitocarleone7197
    @vitocarleone7197 2 года назад +2

    now it is -
    npm install chalk@4.1.0

  • @mdzaid6986
    @mdzaid6986 2 года назад

    very informative lecture

  • @pankajbharati
    @pankajbharati 3 года назад

    Good Videos' with information

  • @Adi-sz4db
    @Adi-sz4db Год назад +2

    2:04 that 10% people🗿

  • @Shri_Radhe_Aaditya_Here
    @Shri_Radhe_Aaditya_Here 2 года назад

    SIR ITS AWESOME

  • @pritamchakraborty4407
    @pritamchakraborty4407 4 года назад

    Thanks sir for this video

  • @rajeshpawar2476
    @rajeshpawar2476 Год назад

    Thank you sir 😊

  • @anupamdas2472
    @anupamdas2472 3 года назад

    i am your big fan bhaiya

  • @meghraj
    @meghraj Год назад

    amazing one....

  • @shakshi2417
    @shakshi2417 3 года назад

    Very nice Sir 👍

  • @MonikaKumari-er4de
    @MonikaKumari-er4de Год назад

    Thanks sir

  • @kamalCode
    @kamalCode 4 года назад +1

    Sir, top 20 NPM PACKAGE FOR ECOMMERCE WEBSITE

  • @samiranroyy1700
    @samiranroyy1700 2 года назад

    Sir great!

  • @shaheensiddiqui1952
    @shaheensiddiqui1952 2 года назад

    sir you have quality of it

  • @ashokbhadane6437
    @ashokbhadane6437 4 года назад

    Thank you sir.

  • @deepikakapoor9607
    @deepikakapoor9607 4 года назад

    Thank you 😀

  • @Anand-zg6jv
    @Anand-zg6jv 3 года назад +2

    Bhaiya isme error aa rhi hai 'module not found' likh ke AA rha hai

  • @nikhilthakur5432
    @nikhilthakur5432 2 года назад

    Andrew Mead pro max ;)

  • @raushanchauhan3765
    @raushanchauhan3765 Год назад +1

    problem require("chalk") install chalk@4.1.2

  • @thekanhu8737
    @thekanhu8737 3 года назад +2

    Sir your teaching style is superb!!!! But the last music also superrr!!! can you provide me the music link..

  • @brandedmunda6281
    @brandedmunda6281 2 года назад +2

    npm i chalk@2.4.1
    now you can run your code
    const chalk = require('chalk');
    console.log(chalk.blue('Hello world!'));

  • @tejasjhamnani7724
    @tejasjhamnani7724 3 года назад +1

    Sir kitna time lagega is playlist ko ??

  • @Avishek2332
    @Avishek2332 10 месяцев назад

    Thank you ❤❤

  • @dibbodas4116
    @dibbodas4116 Год назад

    awesome ❤❤

  • @rajuraj1257
    @rajuraj1257 3 года назад

    you are awesome awesome

  • @gauravbathla8666
    @gauravbathla8666 3 года назад

    You are awesome ):-

  • @mayankverma3684
    @mayankverma3684 Год назад

    thankyou 13

  • @deadlysins7589
    @deadlysins7589 3 года назад

    bro you are love

  • @SURAJKUMAR-gn7ep
    @SURAJKUMAR-gn7ep 2 года назад +4

    Dear Respective sir, I hope you are doing very well, I have a query chalk module after the import module when I try to run the hello world program there is a find an error (Instead change the require of F:\Nodejs\Nodechallenge
    pmMode
    ode_modules\chalk\source\index.js in F:\Nodejs\Nodechallenge
    pmMode\index.js to a
    dynamic import() which is available in all CommonJS modules.) so I need your help, sir, please help us.
    I request that sir please solve my problem as soon as possible.

    • @AnjaanCelebrity
      @AnjaanCelebrity 2 года назад +6

      If you are getting esm error then:
      Got to your package .json and add "type":"module" above debug option.
      And use import chalk from 'chalk' instead of the require line.

    • @SURAJKUMAR-gn7ep
      @SURAJKUMAR-gn7ep 2 года назад

      @@AnjaanCelebrity Thanku so much

    • @ayushsoni8509
      @ayushsoni8509 2 года назад

      @@AnjaanCelebrity Thanks bro

    • @dhananjayvaish3276
      @dhananjayvaish3276 Год назад

      @@AnjaanCelebrity It didn't work for me , pls help someone , getting error module not found

    • @todaysindia4114
      @todaysindia4114 Год назад

      @@AnjaanCelebrity thank u brother

  • @mridul4099
    @mridul4099 3 года назад

    Awesome video

  • @sahilthakur890
    @sahilthakur890 Год назад

    very informative video, would be better if things were not repetitive

  • @muddasarhabib1682
    @muddasarhabib1682 3 года назад

    nice videos

  • @shreyanspatel9104
    @shreyanspatel9104 3 года назад

    Angular pe koi video series banaye to achha rahega

  • @tarunchanderbhatt
    @tarunchanderbhatt 3 года назад

    great video

  • @siddharth-vj4dl
    @siddharth-vj4dl 3 года назад

    awesome..

  • @BintuJhala
    @BintuJhala Месяц назад

    Sir abhi mene jab required use Kiya npm Mai to mere code me error aa rha tha is error me me do ghnte tak uljha Raha kyuki ab ES6mai import use ho rha h kisi bhi npm packege ko use krne ke liye our iske sath hi hame .json Mai bhi type module dena pad rha hai tab jakr me chalk and validator npm packege use kar paya hu 😢😢 to muje ek doubt ho rha h ki apke is course Mai node 3 years purana ho gya h to ky ab node Mai kafi new features aa gye h jo ki is series Mai Mai unhe miss kr skta hu ya fir error Mai uljha rhu our fir AI in sb ki help se mai yeh error solv krta rhunga. Ya fir Pki MERN series follow kru pr abhi mera react pr itna control nhi h 😅 react pda tha but uspe kam kiye kuch time ho gya h isliye rivision Krna pdega and sath hi project bnane pdenge react bhi mai waps se starting krunga bs 5. ,6 days bad apke hi channel se kyuki 😅 new series jo ap lekr aa gye ho

  • @pavansaibitla9008
    @pavansaibitla9008 6 месяцев назад

    sir ,it is throwing some error like import can't be used out side the module

  • @engineer1666
    @engineer1666 2 года назад

    thanks man @Musical drug

  • @keerthigowda5833
    @keerthigowda5833 2 года назад

    Please make videos on GoLang

  • @technova3629
    @technova3629 3 года назад +1

    Hello sir

  • @hsngraphics8228
    @hsngraphics8228 11 месяцев назад

    thanks bro

  • @webcode6071
    @webcode6071 4 года назад

    Awesome

  • @jyotratanpara224
    @jyotratanpara224 Месяц назад +1

    Har bar pe boom mat bolo yaar ..😂

  • @vaibhavgupta425
    @vaibhavgupta425 2 года назад +2

    I followed your complete instruction but while importing it is showing an error to import it dynamically . So, I tried to import it using import chalk from 'chalk' Then again it is showing an error of 'Cannot use import statement outside a module'. Please help me to resolve this issue

    • @Roman_Baloch
      @Roman_Baloch 2 года назад

      Same issue if you found any answer do let mw know

    • @adilghani2680
      @adilghani2680 Год назад

      @@Roman_Baloch downgrade your chalk version to 4

    • @adilghani2680
      @adilghani2680 Год назад

      downgrade your chalk version to 4

    • @akhilshukla8901
      @akhilshukla8901 Год назад

      same issue brother