Рет қаралды 44,474
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