The same question address: Cannot read property'length' of null while opening vscode terminal
Problem Description
One day, I opened a project with vscode under ubuntu 18.04, and wanted to use the terminal in vscode as usual, and found an error Cannot read property 'length' of null
.
solve
Open setting.json, find that the assignment behind terminal.integrated.localEchoStyle is null, change it to "#ffffff" and save it to solve the problem.
{
"terminal.integrated.localEchoStyle": "#ffffff",
}
tips:
Open the setting.json method and click the address below: