marlin-config icon indicating copy to clipboard operation
marlin-config copied to clipboard

On fresh OctoPi installation npm install fails

Open ScruffR opened this issue 2 years ago • 0 comments

When I run sudo npm -g i marlin-conf I always get this error

...
npm ERR! command git --no-replace-objects ls-remote ssh://[email protected]/MelvinTo/node-nat-upnp.git
npm ERR! [email protected]: Permission denied (publickey).
...

Although when I check ssh -T [email protected] I'm successfully authenticated.

On the other hand running the install without sudo fails due to lacking permissions to create /usr/lib/node_modules/marlin-conf


System info

RPi 3B+
Raspbian GNU/Linux 10 (buster)
raspbian
OctoPrint: 1.7.3
OctoPi   : 0.18.0
node     : v17.4.0
npm      : 8.3.1

ScruffR avatar Feb 02 '22 10:02 ScruffR