I just ran into this lame issue with Junie. The system cannot find the batch label specified - after_channel_oneshot.
Ok – so how did I get this? It’s super simple. I tried installing it via the command they give on their website: https://junie.jetbrains.com/
This is the command they give:powershell -NoProfile -ExecutionPolicy Bypass -Command "iex (irm 'https://junie.jetbrains.com/install.ps1')"
After running that command, you restart powershell and junie and it works, normally. This time it wasn’t. I went through a load of debugging steps. Deleting caches, deleting other bats, etc… But the one thing that actually helped came from this StackOverflow post. The Line endings were wrong.
So – how to fix? I downloaded the install.ps1 file directly and converted the line endings to CRLF. I opened it in Notepad++ and used Edit > EOL Conversion > Windows (CR LF)
Then I ran powershell -ExecutionPolicy Bypass -File .\install.ps1 directly. BAM! It works. No more mad mad.