-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
Rollup Version
4.22.0
Operating System (or Browser)
Linux/all browsers
Node Version (if applicable)
20.8.1
Link To Reproduction
https://powvalidator-com.fly.dev/test
Expected Behaviour
tfjs should load with no error.
Actual Behaviour
There are mysterious errors that seem to have nothing to do with rollup, and tfjs does not work. I currently have a demo of the tfjs loading at the URL above - please check the browser console.
Here is a screen shot of the error:
Here is the place in tfjs where it is throwing an error:
The error doesn't look like it has anything to do with rollup, but I have empirically verified that the only variable is when I upgrade from rollup v4.21.3 to v4.22.0, that is when the error occurs. I must run rollup v4.21.3 in production to prevent this error from occuring.
Note that I have not been able to reproduce this error on my macOS machine. The only time the error occurs is when I build and run for production inside a Linux container. I am using vite if that makes any difference. I have tried building/running for production on macOS with no ability to reproduce. Therefore, reproducing is a bit annoying as I can only reproduce the issue inside a container.

