VScode Quarto render pathway error: index.qmd not found #2567
-
Please help! The following is how the problem happened. What I have tried. Working environment: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Quarto VSCode is using your default terminal. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
The problem has something to do with the VSCode default terminal setting.
(This solution hit me by chance and happily it works.)
What I tried later.
(1) File → Preferences → Settings menu → click the to open the 'setting.json' file.
(2) change the
"terminal.integrated.defaultProfile.windows":"Git Bash",
to"terminal.integrated.defaultProfile.windows": "Windows PowerShell",
and then IMPORTANTLY!
(3) comment out the following line of code:
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
Why?
Because, step (2) will not come into effect unless
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
is commented out.VSCode CURRENTLY give…