last day (15 days later) » 

5:55 AM
0
A: bash: cd: E:\Immabeme Solutions: No such file or directory

VonCCheck first the content of your %USERPROFILE%\.bashrc or %USERPROFILE%\.profile, since %USERPROFILE% is the default path considered by a bash session as its $HOME. If there are any cd command in those, that would explain the initial error message. Do an echo $PATH to check your PATH. A bash sessi...

 
Where can I change the path or content? I changed some default settings in the network setting. I don't know is this happening for this or not.
 
@RiyadHossain The idea is to make sure npm works in a CMD, modifying the PATH in your Windows user environment variable. Then launch VSCode.
 
actually, the npm is running on CMD. I checked it. Even though I uninstall and reinstall the node but didn't work. To inform you, before I encountered this error, I add some content to Path in system variables in order to solve another problem.
 
@RiyadHossain OK. Then, when you open bash VSCode terminal session and type echo $PATH, do you find back the same Windows PATH as the one you have in your CMD?
 
if I type echo $PATH in the vs code terminal it shows /c/Users/Riyad/bin:/mingw64/bin:/usr/local/bin:/usr/bin:/bin‌​:/mingw64/bin:/usr/b‌​in:/c/Users/Riyad/bi‌​n:/c/WINDOWS/system3‌​2:/c/windows/:/c/Pro‌​gram File:/c/Winnt:/c/Winnt/System32":/c/Windows/System32:/c/WIND‌​OWS/system32:/c/Wind‌​ows/System32:/c/Prog‌​ram Files/nodejs:/cmd:/c/Program Files/nodejs:/c/Users/Riyad/AppData/Local/Microsoft/WindowsA‌​pps:/c/Users/Riyad/A‌​ppData/Local/Program‌​s/Microsoft VS Code/bin:/c/Users/Riyad/AppData/Roaming/npm:/c/Program Files/nodejs:/usr/bin/vendor_perl:/usr/bin/core_perl . How can I find my CMD windows path?
 
5:55 AM
@RiyadHossain By visually comparing it with echo %PATH% in a CMD. Since I see /c/Users/Riyad/AppData/Roaming/npm, the executable npm.exe should work.
 
At the beginning of this error, it showed some file paths like this /c/Users/Riyad/AppData/Roaming/npm. However, I don't find any file path like this. Now, the npm command is working automatically. But whenever I open the VS code terminal it shows bash: cd: E:\Immabeme Solutions: No such file or directory bash: E:Immabeme: command not found bash: cd: C:\Immabeme Solution: No such file or directory bash: cd: E:\Immabeme Solutions: No such file or directory
 
> `/c/Users/Riyad/AppData/Roaming/npm` However, I don't find any file path like this.

Do you mean you don't have a C:\Users\Riyad\AppData\Roaming\npm`
I did get your email by the way.
I sent an answer, but I am not sure if you got it.
 
Oww great
But I don't have any file path like /c/Users/Riyad/AppData/Roaming/npm this
I checked several times
 
In your Windows file explorer, do you see C:\Users\Riyad\AppData\Roaming\npm?
 
I went to the Windows file explorer and didn't find any file named AppData in 'Riyad' file
 
6:09 AM
It is an hidden folder. Can you make sure your Windows file explorer is set to show hidden files?
 
okay, just a minute
Yeah, the folder is there
but what about the `bash: cd: E:\Immabeme Solutions: No such file or directory
bash: E:Immabeme: command not found
bash: cd: C:\Immabeme Solution: No such file or directory
bash: cd: E:\Immabeme Solutions: No such file or directory` this message.
Whenver I open my vs code terminal, it shows this message
I have created a file named 'Immabeme Solutions' in my C as well as E drive.
Then, finding an error. I deleted the both file from the file explorer
from then, I shows this message
 
First, do you have an npm.exe in C:\Users\Riyad\AppData\Roaming\npm?
 
6:36 AM
Can you also type, in VSCode, Ctrl+,
That will open the settings.
Type terminal.integrated.profiles.windows, then click on "edit in settings.json"

Copy paste the "terminal.integrated.profiles.windows": { ... } section here
 
 
2 hours later…
8:21 AM
I am extremely sorry for being so late. Actually, there was an electrical issue. I really appreciate your time and help.
I didn't find any npm.exe file in the npm folder.
There are node_module, yarn, firebase, Heroku and some other necessary files which most probably are used for my projects.
 
 
2 hours later…
10:11 AM
Hello, are you there?
 
 
4 hours later…
1:47 PM
@RiyadHossain I am back (I was away from the keyboard this morning)
npm should come with nodes: nodejs.org/en/download
Make sure to install the node version compatbile with your project
As illustrated here, it should be by default in C:\Program Files\nodejs` (the C:\Program Files (x86)` would be for the 32-bits version, and I would suggest to install the 64 bits one)
 

last day (15 days later) »