Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Terminal error: Node.js environment variables are disabled

Starting today I receive the following error in my terminal (iTerm2, zsh shell, MacOS Sonoma) when I run some commands, for example when opening VSCode with the code . command:

[0201/192142.001386:ERROR:node_main.cc(135)] Node.js environment variables are disabled because this process is invoked by other apps.

I have no idea when it started or how, nothing was changed as far as I can recall, and I cannot find information about that particular error code.

The command actually opens VSCode, but I get the error/warning every time.

like image 234
Guillermo Brachetta Avatar asked Dec 06 '25 07:12

Guillermo Brachetta


2 Answers

It looks like it is an issue, I can see the report on Github: https://github.com/microsoft/vscode/issues/204005

like image 114
kipmyk Avatar answered Dec 09 '25 08:12

kipmyk


I encountered the same issue because I wasn't logged-in into Heroku CLI. Solved it with heroku login in the CLI and confirming in browser.

like image 32
emn.mun Avatar answered Dec 09 '25 09:12

emn.mun



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!