Introducing PrismCast: Browser-based Live TV Capture for Channels DVR and Plex

Uh oh. New update broke prismcast. I can't even start it

[2026/08/17 06:20:49.753 AM] [ERROR] Fatal startup error occurred: AsyncDisposableStack is not defined.

My provider is Xfinity. When I use Manage Channels to set up service, it seems to work: instead of giving me a login page, it indicates that it recognizes me - from previous logins, I assume.

However, often as not, when I try to actually play a channel, in Chrome I get an endless loop of a big purplescreen saying "xfinity stream" with 3 cycling dots underneath. That lasts for a few seconds, then the same thing repeats. And of course in Channels, I get no video and it gives up.

Sometimes I've been able to get this behavior to "reset" by killing the server and restarting it, or rebooting, but more commonly, it just continues on like this until it somehow breaks out and I get the expected behavior - but finding the right stick to poke at it to break out of it (it seems kinda random) can take hours or longer.

I'd hoped that 1.11 would fix the issue, but if anything, it's gotten worse. Help would be greatly appreciated.

I did search posts and if there's anything similar there I didn't find it.

1 Like

Also seeing problems when trying to upgrade, fortunately on my "test server". Stack is stuck in perpetual "starting up".

Logs from Stack install show this error repeating (same as @Jean0987654321):

[2026/08/17 10:07:08.667 AM] [ERROR] Fatal startup error occurred: AsyncDisposableStack is not defined.

This is on a Debian Server Linux 13.6.

Chat GBT was able to help me identify the issue and get a workaround. Not sure if the below modification to the YAML/Stack is an edge case solution just for me or if others would have need to this solution (GhatGBT should be able to help you find the right path if it's different than mine).

Biggest headache was getting the commands typed in the Container bash prompt as ChatGBT was trying to diagnose the issue, it kept reseting every 10-12 seconds and copy and past was pulling in weird characters so I had to quickly type and/or modify and hit enter otherwise I had to start over.

The PrismCast 1.11.0 image already contains the fix—it just isn't loading the polyfill before app.js tries to use AsyncDisposableStack.

We can work around this without changing Node, Debian, your GPU setup, or your /opt/prismcast data.

What we're going to do

We'll tell Node to load the PrismCast polyfill before PrismCast starts.

The cleanest way is to use Node's NODE_OPTIONS environment variable with --import.

1. Edit your Portainer stack

Go to:

Portainer → Stacks → prismcast → Editor

Find:

    environment:
      - PORT=${PORT:-5589}

Change it to:

    environment:
      - PORT=${PORT:-5589}
      - NODE_OPTIONS=--import=/usr/lib/node_modules/prismcast/node_modules/homebridge-plugin-utils/dist/polyfills.js
      - VNC_PORT=${VNC_PORT:-5900}
      - NOVNC_PORT=${NOVNC_PORT:-6080}
      - HDHR_PORT=${HDHR_PORT:-5004}
      - DISPLAY_NUM=${DISPLAY_NUM:-99}
      - SCREEN_WIDTH=${SCREEN_WIDTH:-3840}
      - SCREEN_HEIGHT=${SCREEN_HEIGHT:-2160}
      - SCREEN_DEPTH=${SCREEN_DEPTH:-24}
      - LIBVA_DRIVER_NAME=${LIBVA_DRIVER_NAME:-iHD}

Don't add a second environment: section. Just add that one NODE_OPTIONS line to your existing section.
1 Like

Huh, I thought I'd be the one to have a problem, but, for me, it's working great in Windows 10 with native install. Did a bunch of 10 minute tests with both direct and PrismCast DRM bridge, and all seemed happy and relatively stable.

Just ran brew install hjdhjd/prismcast/prismcast and now it installed.
Not sure why I was getting that error yesterday.

I suspect it's some sort of security thing to make sure brand new dependencies are a certain age? straight guessing here.

1 Like

In place upgrade failed with message "Upgrade failed: streamData is not defined"
Trying a manual reinstall next
Got this
C:\Users\Bill>prismcast upgrade
Upgrading PrismCast...
Install method: npm (global)
Running: npm install -g prismcast@latest

Upgrade is running in the background.
If PrismCast is registered as a Windows service, the helper will restart it when the upgrade completes; otherwise, restart PrismCast manually.
Helper log: C:\Users\Bill.prismcast\upgrade.log
Assertion failed: !(handle->flags & UV_HANDLE_CLOSING), file src\win\async.c, line 76

C:\Users\Bill># or: npm install -g prismcast

Ran
npm install -g prismcast...............upgrade all good
and upgraded npm while i was mucking around mt Win 11 Chanels PC

oh yeah i'm crash-looping

Looks like same node issue

Image ships with node 22.x - Node 24 provides the AsyncDisposableStack api

Hmm...bizarre but I was able to get it going on Docker/Lubuntu system with @jator solution

There is an issue with Prismcast V 1.11.0.
It has been noted in the issues section on github for Prismcast.
"Update node to 24 to support AsyncDisposableStack
#49"
This app can no longer use node 22.20 because of AsyncDisposableStack. Update the package.json and make the minimum version of node to 24 then delete the package-lock file and node modules folder and re-run npm install and commit to resolve this issue.

This is where it errors out. You have to use version [v1.10.3] if you want avoid this error. Or wait for the developer to fix it in an upcoming version.

And wait, and wait ... :wink:

1 Like

13 posts were split to a new topic: Need Help with PrismCast Crashes, Lock-Ups and Being Unable to Install It with the Latest Chrome in Windows 11

Which version installed?

1 Like

1.11.0

So question.. when I try to use NFL Network which uses Xfinity Stream, when I first try to launch it will give an error about not loading.. if I do it maybe 3 more times,then it eventually loads. Is there a threshold settting I need to adjust?

Thank you!

There are lots of little things you can just adjust. Check under Configurations | Advanced | Playback, Recovery, and Streaming. What you might need is so local host system specific that offering what anyone else has set wouldn't be useful.

v1.11.1 is out - should address the issue for docker folks…apologies. :smile:

And for Windows users

Updated Linux Docker and all appears to be working. Thanks!!!

That helped a bit. Do you have recommended values to get it working more consistently?

Thanks!

1 Like