VR multiplayer bowling game errors

Hello!

I have a major problem with my XR interaction toolkit. When trying to validate, I would constantly get this exception due to a node.js dependency: Win32Exception: ApplicationName=‘/Applications/Unity/Hub/Editor/6000.0.26f1/Unity.app/Contents/Tools/nodejs/bin/node’, […], so it doesn’t recognize the package. I tried reinstalling node.js, created a symlink and I thought now it works, but the whole XR Interaction doesn’t work anymore.
It worked for a time before but since the game setup is a bit complex, sometimes I changed one thing and something else changed with it.
I’m not sure anymore why those errors and exceptions you can see in the attached images occur, maybe it’s easier to solve. I just took the default XR origin, left the default input actions (partially because I had to reassign it so many times right now), and assigned it so that it’s getting spawned with the player. Right now I don’t now what’s the problem here. I thought it might be due to the fact I cannot properly assign the XR input manager, because the XR origin is a prefab getting spawned and it gets “thrown out” all the time. I tried assigning the XR interaction manager via script but the scripts don’t recognize the XR.interaction.toolkit namespace.
Anyways, it would just crash when trying to teleport and doesn’t show the colors for the line renderer.

I would really appreciate someone to take a look at the image and help me troubleshoot!

Thank you