Closed
Description
System Details
- Operating system name and version: Ubuntu 17.04
- VS Code version: 1.12.2-1494422229
- PowerShell extension version: 1.2.0
- Output from
$PSVersionTable
:
Name Value
PSVersion 6.0.0-alpha
PSEdition Core
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 3.0.0.0
GitCommitId v6.0.0-alpha.10
CLRVersion
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Copy / paste the below commands into the PowerShell Integrated Terminal, and paste the output here
**code -v**
1.12.2
19222cdc84ce72202478ba1cec5cb557b71163de
**$pseditor.EditorServicesVersion**
blank
**code --list-extensions --show-versions**
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
**$PSVersionTable**
Name Value
---- -----
PSVersion 6.0.0-alpha
PSEdition Core
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 3.0.0.0
GitCommitId v6.0.0-alpha.10
CLRVersion
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Issue Description
Hello,
I started getting this error whenever I start up VS Code with the PowerShell extension:
needs_install
An error occurred while starting PowerShell Editor Services:
The specified module 'PowerShellEditorServices' with version '1.2.0' was not loaded because no valid module file was found in any module directory.
Attached Logs
[18:46:49] Language server starting...
powershell.exe started --
pid: 8581
exe: /usr/bin/powershell
args: /home/aru/.vscode/extensions/ms-vscode.powershell-1.2.0/scripts/Start-EditorServices.ps1 -EditorServicesVersion '1.2.0' -HostName 'Visual Studio Code Host' -HostProfileId 'Microsoft.VSCode' -HostVersion '1.2.0' -BundledModulesPath '/home/aru/.vscode/extensions/ms-vscode.powershell-1.2.0/modules' -EnableConsoleRepl -LogLevel 'Normal' -LogPath '/home/aru/.vscode/extensions/ms-vscode.powershell-1.2.0/logs/1496278009-e7a5f234-96c0-4e05-a2ed-2ee680f8fe541496278008334/EditorServices.log' -SessionDetailsPath '/home/aru/.vscode/extensions/ms-vscode.powershell-1.2.0/sessions/PSES-VSCode-7984-653716' -FeatureFlags @()
[18:47:50] Language server startup failed.
Could not start language service:
Timed out waiting for session file to appear.
powershell.exe terminated or terminal UI was closed