🔴 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...
It's very important n awesome video 🎉 hope you like it ❤️ plz share with your friends on whatsApp group ok🙏
Mongodb bhi start kro iske bad sir
Kya is channel par koi WhatsApp group h
If it's there pls let me know...
sir, mongoDB with php in one video plz sir 🙏🙏🙏🙏
Sir i request u ...
Freelanceing k uper video bnao
!!!!!!! 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" ;
why we you use .mjs instead of js any reason or why require is not work ??
please reply
thanks
@@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" '
@Musical drug thanks 😊
Brother, I want to meet you at least once in my life .💖💖💖💖💖💖💖💖💖💖
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
thanks bro👍👍
I was frusted and finally got it.
thanks bro it worked
thanks bro , i was puzzled
Thank you so much men I am frustrated with this, it worked 🥳
Npm uninstall chalk giving more error
Sabse badhiya tutor hain aap, aaj tak jitne bhi course videos dekhe hain youtube pe usme itna acha kisine bhi nahi sikaya
Awesome bro!!
Boom ho gayi like!! 😂😜
'CHALK' use kar k sach me chaukh gayi sir🤣. Thank you sir best tutorial in YT.
Your "Boom Guyz" is amazing
We + Node = Vinod
Great class group
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
That school wala example was funny 😜🤣
Awesome sir🤩❤ Congratulations for 200k subscribers
Thank you for going so deep into how it works and importance of each file. Great explanation
The best part I liked , complte form validation module.. thank you
Yes..liked alot. Thank you Thapa Sir. 👌👌🙌🙌
*_NODE JS WITH MONGO DB & MYSQL TUTORIALS_*
*_HOW TO DEBUG IN VISUAL STUDIO CODE_* ❓
this was the best video in this playlist!
Hassan watching from Islamabad. Bohot acha kaam karrahe ho @ Vinod Bahadur Thapa
if Any one facing one problem that
const chalk = require('chalk')
^
so they need to change extenstion from '.js' to '.mjs'
Thankyou
Thanks brother it worked!!!!🎉🎉❤❤❤
I watch your video 12 hours a day😍😍😍😍😍😍
Practice bhi karo
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
Hi bro.. I am from Bangladesh also.. Can we talk?
yes... why not
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
thanks bro this solution work
You well explained all tutorials
thanks yar in hindi we are getting everything that's awesome
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...
thank you
ami diner 12 ghonta watch your video. 😍
thank u so much..i completely understood npm
If you get error on chalk
Install like this :
Step 1: npm uninstall chalk
Step 2: npm i chalk@4.1
.2
thanks
Thanku ❤
but how to do it in newer versions
Your teaching is awesome
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
thanks
Thanks
thank bro i am learning thnigs slowly and clearly
same bro
@@Ayush-lj6pq lekin bro yaar bhot se doubts aa re h
Maja aa gya bro.....🥳🥳🥳
your all videos is very helpful for me thanx sir
So nice of you
Require example of school is very nice ,examples are awesome bro 💞💞 finally awesome vedio🌹
I practice it bro awesome 💞
hello better teacher than my clg teachers
Right bro
Same
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' ;
Thanks
thankss
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!'));
Thanks brother.i was stuck for 15 mins for the same..
Thanks bro 🙂
Awesome videos. Vinod Thapa
thanks for perfect teaching
Amazing Tutorial!!
vai love from bangladesh.
NIce tutorial bro
Watched from Bangladesh
When I'm watching this video, Chalk has more than 204M weekly downloads
Why in my case it shows es module require.....it says you have to write
Import chalk from 'chalk'
bro, u r just awesome thanks bhai
Nice Video
Great tutorial @vinod.
Thanks so much supported
Thanks, Amazing Tutorial!!
We are waiting for him to appear on youtube fanfest though it might take a long time
please help chalk 5.0.0 version not supported or executed using require function.
This video is really Awesome
Best dialog 'hit kijiye click kijiye'
if you getting error in using chalk, use older version .. npm i chalk@4.1.2
Thank you so muchh
i cant express how much you have helped me.
was stuck on this since 4 hours😮💨
yess bro mujhe video axha (09:33 )laga...
Super duper tutorial 💓😍💓☺
now it is -
npm install chalk@4.1.0
very informative lecture
Good Videos' with information
2:04 that 10% people🗿
SIR ITS AWESOME
Thanks sir for this video
Thank you sir 😊
i am your big fan bhaiya
amazing one....
Very nice Sir 👍
Thanks sir
Sir, top 20 NPM PACKAGE FOR ECOMMERCE WEBSITE
Sir great!
sir you have quality of it
Thank you sir.
Thank you 😀
Bhaiya isme error aa rhi hai 'module not found' likh ke AA rha hai
U r right bro
path shi s check kro
Andrew Mead pro max ;)
problem require("chalk") install chalk@4.1.2
Sir your teaching style is superb!!!! But the last music also superrr!!! can you provide me the music link..
npm i chalk@2.4.1
now you can run your code
const chalk = require('chalk');
console.log(chalk.blue('Hello world!'));
Sir kitna time lagega is playlist ko ??
Thank you ❤❤
awesome ❤❤
you are awesome awesome
You are awesome ):-
thankyou 13
bro you are love
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.
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.
@@AnjaanCelebrity Thanku so much
@@AnjaanCelebrity Thanks bro
@@AnjaanCelebrity It didn't work for me , pls help someone , getting error module not found
@@AnjaanCelebrity thank u brother
Awesome video
very informative video, would be better if things were not repetitive
nice videos
Angular pe koi video series banaye to achha rahega
great video
awesome..
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
sir ,it is throwing some error like import can't be used out side the module
thanks man @Musical drug
Please make videos on GoLang
Hello sir
thanks bro
Awesome
Har bar pe boom mat bolo yaar ..😂
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
Same issue if you found any answer do let mw know
@@Roman_Baloch downgrade your chalk version to 4
downgrade your chalk version to 4
same issue brother