Skip to content

Powershal Problem #5172

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
6 tasks done
abuxhaayem opened this issue Apr 13, 2025 · 1 comment
Open
6 tasks done

Powershal Problem #5172

abuxhaayem opened this issue Apr 13, 2025 · 1 comment
Labels
Issue-Bug A bug to squash. Needs: Triage Maintainer attention needed!

Comments

@abuxhaayem
Copy link

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all open and closed issues to ensure it has not already been reported.
  • I have read the troubleshooting guide.
  • I am sure this issue is with the extension itself and does not reproduce in a standalone PowerShell instance.
  • I have verified that I am using the latest version of Visual Studio Code and the PowerShell extension.
  • If this is a security issue, I have read the security issue reporting guidance.

Summary

The terminal process "C:\Program Files\PowerShell\7\pwsh.exe
X
'-NoProfile', '-Execution Policy', 'Bypass', '-Command', 'Import-
Module 'c:\Users\ARMY.cursor\extensions\ms-
vscode.powershell-
2025.0.0\modules\PowerShellEditorServices\PowerShellEditorSe rvices.psd1'; Start-EditorServices -HostName 'Visual Studio Code Host' -HostProfileld 'Microsoft.VSCode' -HostVersion '2025.0.0' -BundledModulesPath
'c:\Users\ARMY.cursor\extensions\ms-vscode.powershell-
2025.0.0\modules' -EnableConsoleRepl -StartupBanner "PowerShell Extension v2025.0.0 Copyright (c) Microsoft
Corporation. https://aka.ms/vscode-powershell Type 'help' to
get help. " -LogLevel 'Warning' -LogPath
'c:\Users\ARMY\AppData\Roaming\Cursor\logs\20250413T201
949\window1\exthost\ms-vscode.powershell' -
Session DetailsPath
'c:\Users\ARMY\AppData\Roaming\Cursor\User\globalStorage\
ms-vscode.powershell\sessions\PSES-VSCode-24052-
332614.json' -FeatureFlags @()" terminated with exit code: 1.

PowerShell Version

$Host
Name                           Value
----                           -----
PSVersion                      7.5.0
PSEdition                      Core
GitCommitId                    7.5.0
OS                             Microsoft Windows 10.0.26100
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0.}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Visual Studio Code Version

1.99.2
x64

Extension Version

code --list-extensions --show-versions | Select-String powershell
c:\Users\ARMY\.cursor\extensions\ms-vscode.powershell-2025.0.0\modules 
ms-vscode.powershell@2025.0.0

Steps to Reproduce

2025-04-13 20:19:58.793 [info] Log level: info, beta=false
2025-04-13 20:19:58.838 [info] endpoints: retrieving AWS endpoints data
2025-04-13 20:19:58.838 [info] Telemetry product: AWS Toolkit For VS Code
2025-04-13 20:20:04.365 [info] Telemetry clientId: 5c2d9144-20be-4d24-bbb9-e067244fcb28
2025-04-13 20:20:04.366 [info] Telemetry sessionId: 11e68b62-714d-4276-a363-04ef126880ad
2025-04-13 20:20:05.123 [info] OS: Windows_NT x64 10.0.26100
2025-04-13 20:20:05.123 [info] Visual Studio Code extension host: 1.96.2
2025-04-13 20:20:05.123 [info] AWS Toolkit: 3.53.0
2025-04-13 20:20:05.123 [info] node: 20.18.3
2025-04-13 20:20:05.123 [info] electron: 34.3.4
2025-04-13 20:20:05.133 [info] initialized 'submitFeedback' command with default feedback id: AWS Toolkit
2025-04-13 20:20:05.649 [warning] Ec2MetadataClient failed to fetch token. If this is an EC2 environment, then Toolkit will fall back to IMDSv1: TimeoutError: Socket timed out without establishing a connection ()
2025-04-13 20:20:10.735 [error] notifications: Failed to fetch at endpoint: https://idetoolkits-hostedfiles.amazonaws.com/Notifications/VSCode/startup/1.x.json, err: TypeError: Cannot read properties of undefined (reading 'headers')
2025-04-13 20:20:14.984 [warning] AwsContext: no default region in credentials profile, falling back to us-east-1:
2025-04-13 20:22:12.989 [warning] telemetry: invalid Metric: "appBuilder_startWalkthrough" emitted without the result property, which is always required. Consider using .run() instead of .emit(), which will set these properties automatically. See https://github.com/aws/aws-toolkit-vscode/blob/master/docs/telemetry.md#guidelines
2025-04-13 20:22:12.991 [error] aws.toolkit.lambda.openWalkthrough: Error: command 'workbench.action.openWalkthrough' not found
2025-04-13 20:25:08.142 [info] telemetry: sent batch (size=20)
2025-04-13 20:25:09.356 [info] telemetry: sent batch (size=6)

Visuals

Image

Logs

20250413T201

@abuxhaayem abuxhaayem added Issue-Bug A bug to squash. Needs: Triage Maintainer attention needed! labels Apr 13, 2025
Copy link

We've found some similar issues:

If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.

Note: You can give me feedback by 👍 or 👎 this comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug A bug to squash. Needs: Triage Maintainer attention needed!
Projects
None yet
Development

No branches or pull requests

1 participant