Developing a website in qubes with node.js problem with down stream from template

Ok,

I am using Chat GPT to teach me how to install a website locally it is basically having me use a Node.js install tool called npm. That’s fine no worries there. However I am having trouble with the version of java in the template and the qube. I am getting errors from the version of java that I am using and when I try to update it in the template. I run into the lack of having a net Qube with the template.

When I try to just do it in the qube it doesn’t have the version manager “n” I downloaded in the template.

My thoughts are I need to update the template with the newer version of java then Roberts your mothers brother. So, what are the oh crap things I need to watch out for with either white listing the template or giving it a net qube and how do I make sure the version trickles down.

I am going to go dig into the docs for qubes on how to do this but I just wanted to ping the pink matter on the best way to get this done.

I thought of changing the template I don’t know enough details to know if fedora would help this. IDK. Any help is appreciated.

ok I connected the template vm to the net qube and get the Nod.js version updated but not making down to the qube how do I make sure this happens. I am going to go look for it, excuse me if this becomes a diary maybe it will help some-one else.

So I installed n on the app vm locally updated the node.js version seems to be working for now will it be persistent IDK.

So,. The java version is persistent. I really don’t understand that I would think that it would need to come down from my template. Perhaps some one can tell me why that is so I can not make rookie posts?

How and where are you installed node.js?

well eventually in the template and qube. At the time of the first edit on the above post just the template.

Can’t check it out now (I’m away from home), but on Node.js — Fedora Developer Portal it’s stated that

sudo dnf install nodejs

will install everything that’s needed (in template)

Everything that starts with sudo need to be done in template, and everything without sudo or with path starting with ~/ need to be done in appVM

1 Like

Oh, ok if that is a general rule that helps navigate qubes allot thank you. lets me know how the apple is diced.

1 Like