Score:1

Systemd running old version of NodeJS

pm flag

I am trying to running a server through systemd. However, I am getting an error due to a dependency needing an updated version of NodeJS.

The default version of Node on Ubuntu always seems to be 10.19.0 (for some strange reason), so I used nvm to update to the current lts version.

When i run node --version it shows the updated version and I can run the program with node and the correct version.

However, when I create a systemd service, it still runs 10.19.0. How can I get systemd to run the updated node version?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.