Title: Process is terminating due to StackOverflowException with custom provider on PSModulePath · Issue #5565 · PowerShell/PowerShell · GitHub
Open Graph Title: Process is terminating due to StackOverflowException with custom provider on PSModulePath · Issue #5565 · PowerShell/PowerShell
X Title: Process is terminating due to StackOverflowException with custom provider on PSModulePath · Issue #5565 · PowerShell/PowerShell
Description: Steps to reproduce $path = '~/code' pushd $path Install-module SHiPS git clone https://github.com/DarqueWarrior/vsteam.git $env:PSModulePath += ";$((resolve-path $path).path)" Import-module vsteam -verbose Add-TeamAccount -Account Open Graph Description: Steps to reproduce $path = '~/code' pushd $path Install-module SHiPS git clone https://github.com/DarqueWarrior/vsteam.git $env:PSModulePath += ";$((resolve-path $path).path)" Import-module vsteam ...
X Description: Steps to reproduce $path = '~/code' pushd $path Install-module SHiPS git clone https://github.com/DarqueWarrior/vsteam.git $env:PSModulePath += ";$((resolve-path $path).path)" Imp...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/5565
X: @github
Domain: github.com
Links:
Viewport: width=device-width
Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Process is terminating due to StackOverflowException with custom provider on PSModulePath","articleBody":"\u003c!--\r\n\r\nFor Windows PowerShell 5.1 issues, suggestions, or feature requests please use the following link instead:\r\n- Windows PowerShell [UserVoice](https://windowsserver.uservoice.com/forums/301869-powershell)\r\n\r\nIf it is a bug report:\r\n- make sure you are able to repro it on the latest released version. \r\nYou can install the latest version from https://github.com/PowerShell/PowerShell/releases\r\n- Search the existing issues.\r\n- Refer to the [FAQ](https://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md).\r\n- Refer to the [known issues](https://github.com/PowerShell/PowerShell/blob/master/docs/KNOWNISSUES.md).\r\n- Fill out the following repro template:\r\n\r\nIf it's not a bug, please remove the template and elaborate the issue in your own words.\r\n--\u003e\r\n\r\nSteps to reproduce\r\n------------------\r\n\r\n```powershell\r\n$path = '~/code'\r\npushd $path\r\nInstall-module SHiPS \r\ngit clone https://github.com/DarqueWarrior/vsteam.git\r\n$env:PSModulePath += \";$((resolve-path $path).path)\"\r\nImport-module vsteam -verbose\r\nAdd-TeamAccount -Account \u003cYourVSTSAccountNameOnly\u003e -Drive \u003cDesiredDrive\u003e -Verbose\r\n# Enter your Personal Access Token to VSTS Account\r\n```\r\n\r\nExpected behavior\r\n-----------------\r\n\r\n```none\r\n# Drive will be added\r\nSet-Location \u003cDesiredDrive\u003e:\r\nls\r\n```\r\n\r\nActual behavior\r\n---------------\r\n\r\n```none\r\nProcess is terminating due to StackOverflowException.\r\n```\r\n\r\nEnvironment data\r\n----------------\r\n\r\n\u003c!-- provide the output of $PSVersionTable --\u003e\r\n\r\n```powershell\r\n\u003e $PSVersionTable\r\nName Value\r\n---- -----\r\nPSVersion 6.0.0-rc\r\nPSEdition Core\r\nGitCommitId v6.0.0-rc\r\nOS Microsoft Windows 10.0.16299\r\nPlatform Win32NT\r\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}\r\nPSRemotingProtocolVersion 2.3\r\nSerializationVersion 1.1.0.1\r\nWSManStackVersion 3.0\r\n```\r\n\r\n\r\nWorkaround\r\n------------------\r\n\r\nDo not add module path to PSModulePath and the steps below will work.\r\n\r\n```powershell\r\n$path = '~/code'\r\npushd $path\r\nInstall-module SHiPS \r\ngit clone https://github.com/DarqueWarrior/vsteam.git\r\nImport-module ./vsteam -verbose\r\nAdd-TeamAccount -Account \u003cYourVSTSAccountNameOnly\u003e -Drive \u003cDesiredDrive\u003e -Verbose\r\n# Enter your Personal Access Token to VSTS Account\r\n# Drive will be \r\nSet-Location \u003cDesiredDrive\u003e:\r\nls\r\n```","author":{"url":"https://github.com/DarqueWarrior","@type":"Person","name":"DarqueWarrior"},"datePublished":"2017-11-28T16:23:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":17},"url":"https://github.com/5565/PowerShell/issues/5565"}
route-pattern /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) route-controller voltron_issues_fragments route-action issue_layout fetch-nonce v2:9329d857-3d7e-84d7-df06-b876eb1d667d current-catalog-service-hash 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 request-id C396:37A780:351872C:4BEAA75:6A56A316 html-safe-nonce b1c7f9681236346c4d5000e8819cd100962ebd3cd7f9ca10076bc2f0afca02b4 visitor-payload eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzk2OjM3QTc4MDozNTE4NzJDOjRCRUFBNzU6NkE1NkEzMTYiLCJ2aXNpdG9yX2lkIjoiNTI5OTMzODY0ODI2NTA3MzQzMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 visitor-hmac 4d2e1df79573ab9d30d221e5a4c242faa2b08a6a8bf158da4c49fb9dcef097d4 hovercard-subject-tag issue:277447318 github-keyboard-shortcuts repository,issues,copilot google-site-verification Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I octolytics-url https://collector.github.com/github/collect analytics-location / fb:app_id 1401488693436528 apple-itunes-app app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/5565/issue_layout twitter:image https://opengraph.githubassets.com/70672f07087edfe985178f8867fbac07e5ed543884ab23135609ca6fb90c8a36/PowerShell/PowerShell/issues/5565 twitter:card summary_large_image og:image https://opengraph.githubassets.com/70672f07087edfe985178f8867fbac07e5ed543884ab23135609ca6fb90c8a36/PowerShell/PowerShell/issues/5565 og:image:alt Steps to reproduce $path = '~/code' pushd $path Install-module SHiPS git clone https://github.com/DarqueWarrior/vsteam.git $env:PSModulePath += ";$((resolve-path $path).path)" Import-module vsteam ... og:image:width 1200 og:image:height 600 og:site_name GitHub og:type object og:author:username DarqueWarrior hostname github.com expected-hostname github.com None 13efe7fe8ecc41eda1078cbde8206041ed92bc54e29bcb737e9353dd9c407aad turbo-cache-control no-preview go-import github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git octolytics-dimension-user_id 11524380 octolytics-dimension-user_login PowerShell octolytics-dimension-repository_id 49609581 octolytics-dimension-repository_nwo PowerShell/PowerShell octolytics-dimension-repository_public true octolytics-dimension-repository_is_fork false octolytics-dimension-repository_network_root_id 49609581 octolytics-dimension-repository_network_root_nwo PowerShell/PowerShell turbo-body-classes logged-out env-production page-responsive disable-turbo false browser-stats-url https://api.github.com/_private/browser/stats browser-errors-url https://api.github.com/_private/browser/errors release 5466ebe023a0abf876a1e6c5d7602ee8f5e6a02b ui-target full theme-color #1e2327 color-scheme light dark
URLs of crawlers that visited me.