Reputation: 21
I have error to run yarn or other comand.
error An unexpected error occurred: "Failed to replace env in config: ${GITHUB_TOKEN}".
when I enter the token everything works but when I reopen visual studio code I have to enter the token again.
Can you help thanks
Upvotes: 2
Views: 902
Reputation: 1326
You can try setting the GITHUB_TOKEN
environment variable. You can do so with the following command:
export GITHUB_TOKEN=<your-github-token>
Upvotes: 0