Title: Bug - HOME env not set, error message is not clear on what the issue is · Issue #2299 · PowerShell/PowerShell · GitHub
Open Graph Title: Bug - HOME env not set, error message is not clear on what the issue is · Issue #2299 · PowerShell/PowerShell
X Title: Bug - HOME env not set, error message is not clear on what the issue is · Issue #2299 · PowerShell/PowerShell
Description: HOME environment varable not set results in a error message which is hard to determine the actual fault. If calling powershell from another tool, HOME may not be part of the environment space. Powershell should report better error messag...
Open Graph Description: HOME environment varable not set results in a error message which is hard to determine the actual fault. If calling powershell from another tool, HOME may not be part of the environment space. Powe...
X Description: HOME environment varable not set results in a error message which is hard to determine the actual fault. If calling powershell from another tool, HOME may not be part of the environment space. Powe...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/2299
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bug - HOME env not set, error message is not clear on what the issue is","articleBody":"# HOME environment varable not set results in a error message which is hard to determine the actual fault.\n\nIf calling powershell from another tool, HOME may not be part of the environment space. Powershell should report better error message.\n## Steps to reproduce\n\n$ unset HOME\n$ powershell\nPowerShell\nCopyright (C) 2016 Microsoft Corporation. All rights reserved.\n\nThe shell cannot be started. A failure occurred during initialization:\nThe type initializer for 'System.Management.Automation.ConfigPropertyAccessor' threw an exception.\n## Expected behavior\n\n$ unset HOME\n$ powershell\nPowerShell\nCopyright (C) 2016 Microsoft Corporation. All rights reserved.\nPlease set the HOME environment variable before using powershell, as powershell stores configuration items in $HOME/.configure/powershell\n## Actual behavior\n\nPowerShell\nCopyright (C) 2016 Microsoft Corporation. All rights reserved.\n\nThe shell cannot be started. A failure occurred during initialization:\nThe type initializer for 'System.Management.Automation.ConfigPropertyAccessor' threw an exception.\n## Environment data\n\n```\npowershell '$PSVersionTable'\n\nName Value\n---- -----\nPSVersion 6.0.0-alpha\nPSEdition Core\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}\nBuildVersion 3.0.0.0\nGitCommitId v6.0.0-alpha.10\nCLRVersion\nWSManStackVersion 3.0\nPSRemotingProtocolVersion 2.3\nSerializationVersion 1.1.0.1\n```\n","author":{"url":"https://github.com/damon-atkins","@type":"Person","name":"damon-atkins"},"datePublished":"2016-09-18T01:31:09Z","url":"https://github.com/PowerShell/PowerShell/issues/2299"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:2a3d7ced-953c-a21d-f796-8e40313b307f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D5D6:31B08D:39ABC4:53D932:6AFD8085 |
| html-safe-nonce | 7225451a3fe81f675a80d2fd819b070f8a288c1217e2e26182dda5330933a266 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENUQ2OjMxQjA4RDozOUFCQzQ6NTNEOTMyOjZBRkQ4MDg1IiwidmlzaXRvcl9pZCI6Ijc1Mzg1OTc3OTMxMTIwOTY5MDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5c27f1cc6d96e79fd306a5921d6e55e7b474fef31cacae7b0759992a6487d4d3 |
| hovercard-subject-tag | issue:177622138 |
| 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/2299/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3ab6e970205d12ad7d5dcb284d7c6fe601231527a9f2d39394fe5ccc9bdb0586/PowerShell/PowerShell/issues/2299 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3ab6e970205d12ad7d5dcb284d7c6fe601231527a9f2d39394fe5ccc9bdb0586/PowerShell/PowerShell/issues/2299 |
| og:image:alt | HOME environment varable not set results in a error message which is hard to determine the actual fault. If calling powershell from another tool, HOME may not be part of the environment space. Powe... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | damon-atkins |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42d4967e3c8afca51ccac31f419a705af777226a95f025ea73387d87a306b326 |
| 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 | 2329ceed0bc2c7b7c3b9f5f2db6abfc7b6fc3a50 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width