Fix FinalizationRegistry undefined on NodeJS

Pierre-Henry Soria ✨ - Feb 12 '23 - - Dev Community

If you are running into the following error with your node application

ReferenceError: FinalizationRegistry is not defined
Enter fullscreen mode Exit fullscreen mode

Chances are that your current node version doesn’t have FinalizationRegistry natively yet (e.g. if you are using Node 12).

You will then have to upgrade Node version to v14 or higher to have FinalizationRegistry supported.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player