question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AzureRM Tools extension prevents PowerShell extension from loading

See original GitHub issue

System Details

  • Operating system name and version: Windows 10 (1703) 15063.540
  • VS Code version: 1.16.0-insider
  • PowerShell extension version: 1.4.1
  • Output from $PSVersionTable: Name Value

PSVersion 5.1.15063.502 PSEdition Desktop PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…} BuildVersion 10.0.15063.502 CLRVersion 4.0.30319.42000 WSManStackVersion 3.0 PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1

Copy / paste the following commands into the PowerShell Integrated Console, and paste the output here:

 code -v
code : The term 'code' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is
correct and try again.
At line:1 char:1
+ code -v
+ ~~~~
    + CategoryInfo          : ObjectNotFound: (code:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS> $pseditor.EditorServicesVersion
PS> code --list-extensions --show-versions
code : The term 'code' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is
correct and try again.
At line:1 char:1
+ code --list-extensions --show-versions
+ ~~~~
    + CategoryInfo          : ObjectNotFound: (code:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.15063.502
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.15063.502
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
[logs.zip](https://github.com/PowerShell/vscode-powershell/files/1270431/logs.zip)

SerializationVersion           1.1.0.1

Issue Description

Basically the extension after the latest insider updates doesn’t work anymore (no F8, no auto complete, and so on), in the output window I can read: [8:58:45] Language server starting… [8:58:45] Language server startup failed.

Attached Logs

I attach the logs, but they’re empty

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:24

github_iconTop GitHub Comments

1reaction
aydeisencommented, Sep 11, 2017

@daviwil I got the vscode-PowerShell extension to work after disabling the ‘Azure Tools for Visual Studio Code’ extension by ‘bradygaster’, which is installed as part of the ‘Azure Extension Pack’ by ‘Microsoft’. https://github.com/bradygaster/azure-tools-vscode

0reactions
aydeisencommented, Oct 3, 2017

I’m not seeing the issue reemerge on my Windows 10 machine. The PS Integrated Console has been taken a little longer to load, but I assume that’s more of a vscode issue than a PowerShell Extension issue.

  • VSCode Version: Code 1.16.1 (27492b6bf3acb0775d82d2f87b25a93490673c6d, 2017-09-14T16:38:23.027Z)
  • OS Version: Windows_NT x64 10.0.15063
  • Extensions:
Extension Author (truncated) Version
jslint ajh 1.2.1
azuretoolsforvscode bra 1.3.0
jshint dba 0.10.15
vscode-eslint dba 1.3.2
azure-functions-tools joh 0.3.1
vscode-devskim MS- 0.2.0
mssql ms- 1.2.0
azurecli ms- 0.3.0
csharp ms- 1.12.1
github-issues-prs ms- 0.6.0
js-atom-grammar ms- 0.1.13
PowerShell ms- 1.4.3
typescript-javascript-grammar ms- 0.0.24
vscode-azureextensionpack ms- 0.0.6
team ms- 1.122.0
azurerm-vscode-tools msa 0.3.7
vscode-docker Pet 0.0.18
velocity sod 0.1.0
usql-vscode-ext usq 0.2.4
application-insights Vis 0.4.1
azure-iot-toolkit vsc 0.2.3

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: Andy Stumphmailto:notifications@github.com Sent: Tuesday, October 3, 2017 09:41 To: PowerShell/vscode-powershellmailto:vscode-powershell@noreply.github.com Cc: aydeisenmailto:aydeisen@gmail.com; Mentionmailto:mention@noreply.github.com Subject: Re: [PowerShell/vscode-powershell] AzureRM Tools extension prevents PowerShell extension from loading (#1016)

I still experienced it on 1.4.3 as well. Had to disable Azure Tools to get the integrated console to launch. Running on Windows 8.1 though.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/PowerShell/vscode-powershell/issues/1016#issuecomment-333845444, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ANZGFeCUzIHtG40shVZwe3vUj5Szk7z6ks5sojmKgaJpZM4PKLq5.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Custom Script Extension for Windows - Azure - Microsoft Learn
This article details how to use the Custom Script Extension by using the Azure PowerShell module and Azure Resource Manager templates. It also ......
Read more >
ARM Tool Extension Not Loading · Issue #1310 - GitHub
Yes Repro steps: Install ARM Tool Extension Try to launch the tool ... in the Output window, in the "Azure Resource Manager Tools"...
Read more >
Using the Azure custom script extension for complex ...
In Azure, the custom script extension provides this ability to run scripts. When Windows Azure VMs are combined with tools like Chocolatey, ...
Read more >
Automate Installation of VM Extensions using PowerShell and ...
VM Extension Name (Case sensitive for "Extensions.id. ... Login to Azure Resource Manager (ARM), if this fails, stop script.
Read more >
The specified module 'Module Name' was not loaded because ...
This error is because the PowerShell console or ISE is unable to get the module from given module path's in the environment variable...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found