If you want to do some Node development, i recommend you to use Podman to create a instance of Ubuntu and run your development environment there:
Alternatively, if you don’t need any advanced features, you can simply run toolbox create (and then toolbox enter) to get a current Fedora environment. Install the required Node packages then.