question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Things missing from PATH variable in OS X Big Sur

See original GitHub issue
  • VS Code Version: (various)
  • OS Version: OS X Big Sur

We have not been able to reproduce this issue ourselves, but have seen a lot of users hitting problems with the PATH variable missing some things on Big Sur. It does not happen when running the Terminal app nor within terminals manually-launched within VSCode, but does seem to happen when things execute as tasks or in the background via child_process.

As a result of missing entries, commands like docker ... fail.

~~https://github.com/microsoft/vscode-docker/issues/2758~~ (ended up being terminal.integrated.inheritEnv == false) https://github.com/microsoft/vscode-docker/issues/2366 https://github.com/microsoft/vscode-docker/issues/2254 https://github.com/microsoft/vscode-docker/issues/2574 https://github.com/microsoft/vscode-docker/issues/2577

Maybe related to https://github.com/microsoft/vscode/issues/115738 or https://github.com/microsoft/vscode/issues/21655?

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:3
  • Comments:27 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
therealchjonescommented, Apr 6, 2022

Work in progress: PATH in macOS and VS Code

1reaction
bwateratmsftcommented, Dec 9, 2022

@deepak1556 we’ve made a lot of changes in the Docker extension too; likely they will make it more sensitive to issues with $PATH. So far we haven’t seen any customer reports of problems that look like $PATH issues, but I’ll respond back if we see anything.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Reset the PATH Variable on Mac to Default macOS ...
Fixing a bad PATH on Mac requires you to reset the PATH environment variable to the default macOS PATH entries.
Read more >
How do I reset the $PATH variable on Mac OS X?
I'm guessing this has something to do with a malformed $PATH variable, and need to know how to reset it. I've deleted the...
Read more >
How to Add to the Shell Path in macOS Big Sur or Catalina ...
If you needed to rearrange the paths in the default $PATH variable, you can just do that and leave off $PATH. So lets...
Read more >
MacOS - Set / Change $PATH Variable Command
macOS (OS X): Change your PATH environment variable · Method #1: $HOME/.bash_profile file to set or change $PATH under macOS · Method #2:...
Read more >
Setting up Environment Variables in Mac OS | by 김영석
1. Check the current environment variable settings. you can list up by command “ printenv ” in the console.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found