I have entered the "npm install prompt-sync" in the command prompt window after running it as administrator and also in Windows PowerShell but I keep getting the Error: Cannot find module 'prompt-sync'
I even entered this command in Windows PowerShell ISE but this is exactly the same.
This is also exactly the same with both "Developer Command Prompt for VS 2022 Preview" and "Developer PowerShell for VS 2022 Preview"
This is also exactly the same with Git!
I even tried the "npm audit fix --force" command as both the command prompt and PowerShell suggest but this does not solve the problem at all.
I also entered the "yarn add prompt-sync" command and both command prompt and Windows PowerShell said that the "prompt-sync" module was added but this command also appears to be doing nothing exactly like "npm install prompt-sync".
I read somewhere that the "npm install prompt-sync" command should install the "prompt-sync" module so it can be used by all NodeJS programs, applications and scripts but it doesn't seem to do anything.
Both the command prompt and Windows PowerShell tell me that it does install the module but this is not eliminating the error above.
I tried to do the same with Chocolatey but the Chocolatey window appears only for a half second and then immediately disappears every time I click the command to run Chocolatey and I don't even know why this is happening at all.
I want to do the same with Ninite but I don't find Ninite anywhere whenever searching for it.
I even reinstalled (Uninstalled and then installed again) NodeJS and restarted Windows 11 but this also did not solve the problem at all.
I even reinstalled (Uninstalled and then installed again) Visual Studio 2022 Preview and restarted Windows 11 but this also did not solve the problem at all.
Why the "npm install prompt-sync" command is not working at all?
Do I enter it in a wrong place?
If yes then where exactly should I enter this command?
Or better what to do or how exactly to install the "prompt-sync" module so that all my NodeJS programs, applications and scripts can use it?