Node Modules for Volumio 3

In the past, with Volumio 2, I blindly used the following;

npm install^1.7.4

to install the node modules needed for my plugin.

While updating the plugin for Volume 3 I’m noticing occasional errors and timing problems. Should I be using an updated version? If so, which?

Many thanks in advance for any help!

Still the same old one :slight_smile:

If you want to avoid multiple copies on the local device, you can always do:

const io = require('/volumio/node_modules/');
const socket = io.connect('http://localhost:3000');

That way you don’t have to install multiple copies of the same module.

Many thanks!