Visual Studio Code: Difference between revisions

Klinger (talk | contribs)
m Category:IDE added
Axka (talk | contribs)
Redirect to the Secret Service page when encountering an error about it missing. It's best to have the information in one place only
Line 269: Line 269:
== Troubleshooting ==
== Troubleshooting ==


=== Error after Sign On  ===
=== Writing login information to the keychain failed ===


If you get such an error after sign on in application:
If you get an error similar to the following, enable a [[Secret Service]] provider.


<pre>
<pre>Writing login information to the keychain failed with error 'The name org.freedesktop.secret was not provided by any .service files'.</pre>
Writing login information to the keychain failed with error 'The name org.freedesktop.secret was not provided by any .service files'.
</pre>
 
Try to add the following setting in your system configuration (even if you don't use Gnome as desktop environment):
 
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
# needed for store VS Code auth token
services.gnome.gnome-keyring.enable = true;
</nowiki>}}
 
''Optional'': add <code>gnome.seahorse</code> to <code>environment.systemPackages</code> to install GUI for GNOME Keyring.
 
Don't forget to perform <code>nixos-rebuild switch</code> and reboot the system.


=== Server did not start successfully ===
=== Server did not start successfully ===