Closed neradp closed 2 years ago
@neradp can you show me the actual error? The logs do not indicate this.
@neradp I do see this:
2022/04/05 08:39:33 HasFiles duration: 0s, args: package.json
2022/04/05 08:39:33 FileContent duration: 0s, args: package.json
Which could imply the package.json is broken. I'm guessing that one is going to be the issue as .Error
is not empty. Can you get me the contents of that file?
File is ok. cmd, bash gives the expected result. Problem is only in pwsh or powershell.
{ "name": "Project", "version": "1.0.0", "description": "", "private": true, "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "npx webpack --env production", "serve-dev": "npx webpack serve --env development", "serve-prod": "npx webpack serve --env production" }, "author": "", "license": "MIT", "dependencies": { "geodesy": "^2.2.1", "react": "^17.0.2", "react-dom": "^17.0.2", "react-error-boundary": "^3.1.3", "react-live-clock": "^5.2.0", "semantic-ui-css": "^2.4.1", "semantic-ui-react": "^2.0.3" }, "devDependencies": { "@types/geodesy": "^2.2.2", "@types/react": "^17.0.11", "@types/react-dom": "^17.0.7", "@typescript-eslint/eslint-plugin": "^4.27.0", "@typescript-eslint/parser": "^4.27.0", "browserslist": "^4.16.6", "css-loader": "^5.2.6", "eslint": "^7.29.0", "eslint-plugin-react": "^7.24.0", "eslint-plugin-react-hooks": "^4.2.0", "eslint-webpack-plugin": "^2.5.4", "file-loader": "^6.2.0", "mini-css-extract-plugin": "^1.6.0", "pattern-replace-loader": "^1.0.5", "sass": "^1.34.1", "sass-loader": "^12.1.0", "style-loader": "^2.0.0", "stylelint": "^13.13.1", "stylelint-config-standard": "^22.0.0", "stylelint-webpack-plugin": "^2.2.1", "ts-loader": "^9.2.3", "typescript": "^4.3.2", "webpack": "^5.40.0", "webpack-cli": "^4.7.2", "webpack-dev-server": "^4.3.0", "webpack-userscript": "^2.5.8" } }
@neradp hmm. There's no difference when it comes to oh-my-posh for getting file content in bash or cmd (unless that uses a different version). It's indeed correct, so I have no clue whatsoever what exactly is going on here without additional logging
How i can help ?
@neradp the latest version will log the file contents as well. That we can make sure we're not under false assumptions.
I will do some recapitulation:
1, Segment Project not working in Powershell 🗡️
2, Debugging with Write-PoshDebug
function not working in Powershell (Powershell stops responding) .
3, Debugging with command oh-my-posh debug
in Powershell show correct results: segment Project is generated fine, logged file content is ok.
@neradp if that's true, the oh-my-posh executable and PowerShell aren't in sync. As that can't be true otherwise. How did you install in PowerShell/elsewhere?
1, install-amd64.exe 2, notepad $PROFILE
oh-my-posh init pwsh --config ~/oh-my-posh.json | Invoke-Expression
@neradp it seems write-poshdebug
had an issue, fixing that in #2036 but oh-my-posh debug
does the same. It's only a simple wrapper nowadays). There's 2 things:
I did update to 7.59.1 , write-posdebug not working...
`pwsh~#@❯ oh-my-posh debug ❮
Version: 7.59.1
Segments:
ConsoleTitle(true) - 0 ms - pwsh :: cardano os(true) - 0 ms - session(true) - 0 ms - peterDESKTOP-MISBF7F path(true) - 0 ms - cardano git(false) - 29 ms - project(true) - 1 ms - 1.0.0 cardano node(true) - 78 ms - 17.8.0 php(false) - 0 ms - python(false) - 0 ms - dotnet(false) - 1 ms - spotify(false) - 42 ms - ytm(false) - 31 ms - time(true) - 0 ms - 20:25:07 battery(true) - 16 ms - 100 text(true) - 0 ms - pwsh~#@❯ text(true) - 0 ms - ❮ executiontime(false) - 0 ms - exit(true) - 0 ms -
Run duration: 202.3506ms
Cache path: C:\Users\peter\AppData\Local\oh-my-posh
Logs:
2022/04/05 20:25:07 Flags duration: 0s, args: 2022/04/05 20:25:07 Flags duration: 0s, args: 2022/04/05 20:25:07 debug: Getenv
2022/04/05 20:25:07 Getenv duration: 0s, args: OMP_CACHE_DISABLED 2022/04/05 20:25:07 Root duration: 0s, args: 2022/04/05 20:25:07 Shell duration: 0s, args: 2022/04/05 20:25:07 ErrorCode duration: 0s, args: 2022/04/05 20:25:07 IsWsl duration: 0s, args: 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 debug: Home C:\Users\peter 2022/04/05 20:25:07 PathSeparator duration: 0s, args: 2022/04/05 20:25:07 PathSeparator duration: 0s, args: 2022/04/05 20:25:07 PathSeparator duration: 0s, args: 2022/04/05 20:25:07 PathSeparator duration: 0s, args: 2022/04/05 20:25:07 PathSeparator duration: 0s, args: 2022/04/05 20:25:07 PathSeparator duration: 0s, args: 2022/04/05 20:25:07 PathSeparator duration: 0s, args: 2022/04/05 20:25:07 PathSeparator duration: 0s, args: 2022/04/05 20:25:07 PathSeparator duration: 0s, args: 2022/04/05 20:25:07 debug: User peter 2022/04/05 20:25:07 User duration: 0s, args: 2022/04/05 20:25:07 debug: Host DESKTOP-MISBF7F 2022/04/05 20:25:07 Host duration: 0s, args: 2022/04/05 20:25:07 GOOS duration: 0s, args: 2022/04/05 20:25:07 TemplateCache duration: 0s, args: 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 debug: Home C:\Users\peter 2022/04/05 20:25:07 GOOS duration: 0s, args: 2022/04/05 20:25:07 TemplateCache duration: 0s, args: 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 debug: Home C:\Users\peter 2022/04/05 20:25:07 debug: Getenv
2022/04/05 20:25:07 Getenv duration: 0s, args: SSH_CONNECTION 2022/04/05 20:25:07 debug: Getenv
2022/04/05 20:25:07 Getenv duration: 0s, args: SSH_CLIENT 2022/04/05 20:25:07 TemplateCache duration: 0s, args: 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 debug: Home C:\Users\peter 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 Flags duration: 0s, args: 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 debug: Home C:\Users\peter 2022/04/05 20:25:07 GOOS duration: 0s, args: 2022/04/05 20:25:07 GOOS duration: 0s, args: 2022/04/05 20:25:07 PathSeparator duration: 0s, args: 2022/04/05 20:25:07 PathSeparator duration: 0s, args: 2022/04/05 20:25:07 Flags duration: 0s, args: 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 debug: Home C:\Users\peter 2022/04/05 20:25:07 GOOS duration: 0s, args: 2022/04/05 20:25:07 GOOS duration: 0s, args: 2022/04/05 20:25:07 PathSeparator duration: 0s, args: 2022/04/05 20:25:07 PathSeparator duration: 0s, args: 2022/04/05 20:25:07 GOOS duration: 0s, args: 2022/04/05 20:25:07 IsWsl duration: 0s, args: 2022/04/05 20:25:07 StackCount duration: 0s, args: 2022/04/05 20:25:07 TemplateCache duration: 0s, args: 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 debug: Home C:\Users\peter 2022/04/05 20:25:07 GOOS duration: 0s, args: 2022/04/05 20:25:07 HasCommand duration: 29.749ms, args: git.exe 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 error: HasParentFilePath CreateFile C:.git: The system cannot find the file specified. 2022/04/05 20:25:07 HasParentFilePath duration: 0s, args: .git 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 PathSeparator duration: 0s, args: 2022/04/05 20:25:07 debug: HasFiles true 2022/04/05 20:25:07 HasFiles duration: 0s, args: package.json 2022/04/05 20:25:07 debug: FileContent { "name": "cardano", "version": "1.0.0", "description": "Cardano Random Wallet Checker", "main": "index.js", "directories": { "doc": "doc" }, "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "Peter Nerád", "license": "ISC", "dependencies": { "axios": "^0.26.1", "bip39": "^3.0.4" } }
2022/04/05 20:25:07 FileContent duration: 1.0485ms, args: package.json 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 debug: Home C:\Users\peter 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 PathSeparator duration: 0s, args: 2022/04/05 20:25:07 debug: HasFiles true 2022/04/05 20:25:07 HasFiles duration: 0s, args: package.json 2022/04/05 20:25:07 TemplateCache duration: 0s, args: 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 debug: Home C:\Users\peter 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 debug: Home C:\Users\peter 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 PathSeparator duration: 0s, args: 2022/04/05 20:25:07 debug: HasFiles true 2022/04/05 20:25:07 HasFiles duration: 0s, args: .js 2022/04/05 20:25:07 HasCommand duration: 32.839ms, args: node 2022/04/05 20:25:07 debug: RunCommand v17.8.0 2022/04/05 20:25:07 RunCommand duration: 44.6989ms, args: node --version 2022/04/05 20:25:07 TemplateCache duration: 0s, args: 2022/04/05 20:25:07 error: FileContent open .nvmrc: The system cannot find the file specified. 2022/04/05 20:25:07 FileContent duration: 0s, args: .nvmrc 2022/04/05 20:25:07 TemplateCache duration: 0s, args: 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 debug: Home C:\Users\peter 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 debug: Home C:\Users\peter 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 PathSeparator duration: 0s, args: 2022/04/05 20:25:07 debug: HasFiles false 2022/04/05 20:25:07 HasFiles duration: 0s, args: .php 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 PathSeparator duration: 0s, args: 2022/04/05 20:25:07 debug: HasFiles false 2022/04/05 20:25:07 HasFiles duration: 0s, args: composer.json 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 PathSeparator duration: 0s, args: 2022/04/05 20:25:07 debug: HasFiles false 2022/04/05 20:25:07 HasFiles duration: 513.5µs, args: composer.lock 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 PathSeparator duration: 0s, args: 2022/04/05 20:25:07 debug: HasFiles false 2022/04/05 20:25:07 HasFiles duration: 0s, args: .php-version 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 PathSeparator duration: 0s, args: 2022/04/05 20:25:07 debug: HasFiles false 2022/04/05 20:25:07 HasFiles duration: 0s, args: blade.php 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 debug: Home C:\Users\peter 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 debug: Home C:\Users\peter 2022/04/05 20:25:07 debug: Getenv
2022/04/05 20:25:07 Getenv duration: 0s, args: VIRTUAL_ENV 2022/04/05 20:25:07 debug: Getenv
2022/04/05 20:25:07 Getenv duration: 0s, args: CONDA_ENV_PATH 2022/04/05 20:25:07 debug: Getenv
2022/04/05 20:25:07 Getenv duration: 0s, args: CONDA_DEFAULT_ENV 2022/04/05 20:25:07 debug: Getenv
2022/04/05 20:25:07 Getenv duration: 0s, args: PYENV_VERSION 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 debug: Home C:\Users\peter 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 debug: Home C:\Users\peter 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 PathSeparator duration: 0s, args: 2022/04/05 20:25:07 debug: HasFiles false 2022/04/05 20:25:07 HasFiles duration: 0s, args: .cs 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 PathSeparator duration: 0s, args: 2022/04/05 20:25:07 debug: HasFiles false 2022/04/05 20:25:07 HasFiles duration: 0s, args: .csx 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 PathSeparator duration: 0s, args: 2022/04/05 20:25:07 debug: HasFiles false 2022/04/05 20:25:07 HasFiles duration: 0s, args: .vb 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 PathSeparator duration: 0s, args: 2022/04/05 20:25:07 debug: HasFiles false 2022/04/05 20:25:07 HasFiles duration: 523µs, args: .sln 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 PathSeparator duration: 0s, args: 2022/04/05 20:25:07 debug: HasFiles false 2022/04/05 20:25:07 HasFiles duration: 0s, args: .csproj 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 PathSeparator duration: 0s, args: 2022/04/05 20:25:07 debug: HasFiles false 2022/04/05 20:25:07 HasFiles duration: 0s, args: .vbproj 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 PathSeparator duration: 0s, args: 2022/04/05 20:25:07 debug: HasFiles false 2022/04/05 20:25:07 HasFiles duration: 0s, args: .fs 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 PathSeparator duration: 0s, args: 2022/04/05 20:25:07 debug: HasFiles false 2022/04/05 20:25:07 HasFiles duration: 527.6µs, args: .fsx 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 PathSeparator duration: 0s, args: 2022/04/05 20:25:07 debug: HasFiles false 2022/04/05 20:25:07 HasFiles duration: 0s, args: *.fsproj 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 PathSeparator duration: 0s, args: 2022/04/05 20:25:07 debug: HasFiles false 2022/04/05 20:25:07 HasFiles duration: 0s, args: global.json 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 debug: Home C:\Users\peter 2022/04/05 20:25:07 error: QueryWindowTitles no matching window title found
2022/04/05 20:25:07 WindowTitle duration: 23.1858ms, args: ^(Spotify.)|(.\s-\s.*)$ 2022/04/05 20:25:07 error: QueryWindowTitles no matching window title found
2022/04/05 20:25:07 WindowTitle duration: 18.8884ms, args: ^(Spotify.*) 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 debug: Home C:\Users\peter 2022/04/05 20:25:07 error: HTTPRequest Get "http://127.0.0.1:9863/query": context deadline exceeded 2022/04/05 20:25:07 HTTPRequest duration: 31.2015ms, args: http://127.0.0.1:9863/query 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 debug: Home C:\Users\peter 2022/04/05 20:25:07 TemplateCache duration: 0s, args: 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 debug: Home C:\Users\peter 2022/04/05 20:25:07 IsWsl duration: 0s, args: 2022/04/05 20:25:07 BatteryInfo duration: 14.6179ms, args: 2022/04/05 20:25:07 TemplateCache duration: 0s, args: 2022/04/05 20:25:07 TemplateCache duration: 0s, args: 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 debug: Home C:\Users\peter 2022/04/05 20:25:07 TemplateCache duration: 0s, args: 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 debug: Home C:\Users\peter 2022/04/05 20:25:07 TemplateCache duration: 0s, args: 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 debug: Home C:\Users\peter 2022/04/05 20:25:07 ExecutionTime duration: 0s, args: 2022/04/05 20:25:07 debug: Pwd C:\Users\peter\Projects\cardano 2022/04/05 20:25:07 Pwd duration: 0s, args: 2022/04/05 20:25:07 debug: Home C:\Users\peter 2022/04/05 20:25:07 ErrorCode duration: 0s, args: 2022/04/05 20:25:07 TemplateCache duration: 0s, args: 2022/04/05 20:25:07 TemplateCache duration: 0s, args: 2022/04/05 20:25:07 debug: Getenv C:\Users\peter\AppData\Local 2022/04/05 20:25:07 Getenv duration: 0s, args: LOCALAPPDATA 2022/04/05 20:25:07 CachePath duration: 0s, args:`
Found out the issue with pwsh(on macos in my case). The project segment does not take into account the PWD variable correctly.
Still have to find why, but reading a file with a relative path does not work in that case. With pwsh, it tries to read the file from the home, but in other shells it reads the file from the current path.
@neradp can you confirm it works for you as well?
I can confirm that: Project segment is working now, function write-poshdebug is not.
@neradp I'm going to remove that cmdlet. No idea why it hangs, and no real use-case anymore.
strange, even write-poshdebug works on my side with the fix.
@JanDeDobbeleer I'm having the same problem, but it works fine when I use the following command to preview
oh-my-posh print primary --config ~/.M365Princess_batu.json --shell uni
I'm not sure if this will help, and here are my configerations
{
"background": "#86BBD8",
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
"style": "powerline",
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ if .Version }}\uf487 {{.Version}}{{ end }}{{ end }} ",
"type": "project"
}
@JanDeDobbeleer I just opened the terminal as the administrator and solved it unexpectedly. Is it possible because of the permission problem?
@JanDeDobbeleer I just opened the terminal as the administrator and solved it unexpectedly. Is it possible because of the permission problem?
did you reload your shell after update? I don't see a link between being admin and the bug being resolved
@batu1579 no. More probable that you updated and a shell reload was required.
@lnu Its pretty weird, I used a plugin called Gsudo to temporarily increase permissions. I don't think it's relevant, but it does work...
@lnu Its pretty weird, I used a plugin called Gsudo to temporarily increase permissions. I don't think it's relevant, but it does work...
The issue was related to the path not being used correctly. Are you on the latest version of omp? Did you reload your "simple" user session? Because calling sudo will start a new shell and fix the issue as @JanDeDobbeleer said.
Yeah, you're right. I manually opened a terminal as an administrator, and again the problem occurred because the sudo plugin opened a new shell. I just updated omp and found the problem fixed. It's my fault. I'm sorry for the trouble, orz
This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. If you have found a problem that seems similar, please open a discussion first, complete the body with all the details necessary to reproduce, and mention this issue as reference.
Code of Conduct
What happened?
Segment throws unexpected end of JSON input on windows and pwsh or powershell.
Write-PoshDebug freezes powershell prompt.
Theme
What OS are you seeing the problem on?
Windows
Which shell are you using?
powershell
Log output