Getting strange error using UUID npm module. What am I doing wrong?

Have you been able to resolve the issue?

I'm getting the same result but the only change I made is go from uuid v7.0.3 to v8.0.0. node didn't change, it's v14.1.0 which works with uuid v7.0.3.

I created an issue for it https://github.com/uuidjs/uuid/issues/444


I know that Nodejs version v13 had some issues with this. I tried with v12.16.3 and it's working. Either use latest v14.2.0 or official LTS v12.16.3