How to Fix ReferenceError Prompt is Not Defined in VS Code - Prompt is Not Working in VSCode

  Рет қаралды 44,474

GameTrick

GameTrick

Жыл бұрын

npm init -y
npm install prompt-sync
const prompt = require('prompt-sync')();
In This Video We Will See How to Fix ReferenceError Prompt is Not Defined in VS Code or Prompt is Not Working in VSCode
Here Are The Steps to Fix ReferenceError Prompt is Not Defined in VS Code or Prompt is Not Working in VSCode
1. First Type clear in Your Terminal or Command Prompt & Hit Enter on Your Keyboard To Clear the Screen
2. Now Type npm init -y in Your Terminal or Command Prompt & Hit Enter on Your Keyboard
3. Now Type npm install prompt-sync in Your Terminal or Command Prompt & Hit Enter on Your Keyboard
4. Now Declare prompt Like this on the top of Ever Code
5. Click File
6. Click Save
7. Now Try To Run the File
8. Done!
Contact Us
Facebook: / gametrick1
Twitter: / gametrick4
Wikipedia: en.wikipedia.org/wiki/User:Ga...
KZfaq: • How to Fix ReferenceEr...
Don't Forget To Like Share And Subscribe

Пікірлер: 37
@alihamasghurki122
@alihamasghurki122 Жыл бұрын
Thankyou very much bro. Helpful video. I searched on google and many websites then come to youtube and this very first video very helpful.
@shrish0071
@shrish0071 Жыл бұрын
This video is very helpful, Thanks!!!!
@araujoofl8578
@araujoofl8578 6 ай бұрын
bro i love you, its 03:21 A.M and you saved me
@shyarboy100
@shyarboy100 5 ай бұрын
Thank you so much bro yarr 2 din se pareshan tha
@maindevzeusownstudio
@maindevzeusownstudio 9 ай бұрын
Bravo It is working great thnks highly useful for beginners in js on VScode
@mdmeraj-es3tz
@mdmeraj-es3tz 22 күн бұрын
thanks its very good , now my issue is resolve , ,,
@nishachoudhary7639
@nishachoudhary7639 10 ай бұрын
Thank you for this.
@dhruva999
@dhruva999 Жыл бұрын
It's working thanks bro 👍
@user-jw2ky1lc4w
@user-jw2ky1lc4w 6 ай бұрын
Lifesaver for newbieee!!!!!!!
@joaniceoliveira9239
@joaniceoliveira9239 11 ай бұрын
Thank you so much😍
@durgashreenv8426
@durgashreenv8426 2 ай бұрын
Thanks a lot! Similarly what needs to be done for using alert?
@JincoWill
@JincoWill 5 ай бұрын
It worked, thanks!!
@prianshu_33
@prianshu_33 Жыл бұрын
Thank You Sir.
@Gwgitu77
@Gwgitu77 5 ай бұрын
Thank you so much
@witchlovessandwitches
@witchlovessandwitches Жыл бұрын
Thank you🎉
@scryextreme9392
@scryextreme9392 Жыл бұрын
OMG!!!! THANK SO MUCH!
@vijaykumarrai7247
@vijaykumarrai7247 10 ай бұрын
thanks for info but one doubt do we have to write const prompt = require('prompt-sync')(); , every time prompt syntax is used or one time in code
@nafimahmud7842
@nafimahmud7842 5 ай бұрын
no just one time
@sol____-_-
@sol____-_- 5 ай бұрын
Muchas gracias.
@SandeepSingh-yg3wq
@SandeepSingh-yg3wq 9 ай бұрын
Thanks lot sir ❤❤
@jageswarnayak7959
@jageswarnayak7959 7 ай бұрын
Thanks dude 😁
@joaopedrolarsao5684
@joaopedrolarsao5684 4 ай бұрын
great video bud
@MinionNoah1060
@MinionNoah1060 Жыл бұрын
THANK YOU OMG :)))))))
@shadab_196
@shadab_196 Жыл бұрын
helpful video...
@yaye2386
@yaye2386 Күн бұрын
It works but can someone explain why i need to do this? On macos it just worky by installing nodejs
@er_hd
@er_hd 5 ай бұрын
Hey...can you make a tutorial for alert() like this one
@tiwarishashikant600
@tiwarishashikant600 3 ай бұрын
thank you sir
@Harshak-yp2yx
@Harshak-yp2yx 5 ай бұрын
thanks a lot
@pinkukaki
@pinkukaki 10 ай бұрын
thanks
@mayurgohil2145
@mayurgohil2145 Жыл бұрын
nice bro
@shillengod
@shillengod Жыл бұрын
in which folder i need to be when i'm using the npm command?
@allstartv282k
@allstartv282k 5 ай бұрын
I dont think it matters but do it in the same folder where you're storing your programs
@deadlyrehaan9460
@deadlyrehaan9460 11 ай бұрын
Thanku
@sarfeshaikh007
@sarfeshaikh007 Жыл бұрын
How to download asus audio wizard please tell me bro please. ...
@naziyabaig8292
@naziyabaig8292 9 ай бұрын
helpful
@mahalakshminadar2878
@mahalakshminadar2878 3 күн бұрын
tq nobody
How To Run JavaScript In VSCode with Node JS (LiveServer localhost)
8:33
How to Fix Prompt Not Defined || ReferenceError: prompt is undefined.
8:16
Дарю Самокат Скейтеру !
00:42
Vlad Samokatchik
Рет қаралды 7 МЛН
Red❤️+Green💚=
00:38
ISSEI / いっせい
Рет қаралды 28 МЛН
Мы никогда не были так напуганы!
00:15
Аришнев
Рет қаралды 6 МЛН
3M❤️ #thankyou #shorts
00:16
ウエスP -Mr Uekusa- Wes-P
Рет қаралды 15 МЛН
The Complete Guide to Python Virtual Environments!
15:52
teclado
Рет қаралды 333 М.
Easily fix broken Windows files now with System File Checker
14:55
CyberCPU Tech
Рет қаралды 695 М.
How to Fix Prompt Not Defined
3:55
Adam Tech
Рет қаралды 29 М.
Node.js Tutorial for Beginners: Learn Node in 1 Hour
1:18:16
Programming with Mosh
Рет қаралды 6 МЛН
Look at two different videos 😁 @karina-kola
0:12
Andrey Grechka
Рет қаралды 9 МЛН
Как спасти человека верёвкой🤔
0:26
FERMACHI
Рет қаралды 11 МЛН
Артикул 214546849
0:30
WBUnbox
Рет қаралды 1,4 МЛН
ИНТЕРЕСНАЯ ИДЕЯ (@kelvin_bryant25 - Instagram)
0:16
В ТРЕНДЕ
Рет қаралды 29 МЛН