Building file-sharing
npm --prefix file-sharing install
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@45drives%2fcockpit-css - Not found
npm ERR! 404
npm ERR! 404 '@45drives/cockpit-css@^0.1.12' is not in this registry.
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2023-12-25T04_29_13_946Z-debug-0.log
make: *** [Makefile:80: file-sharing/dist/index.html] Error 1
Looks like cockpit-css can’t be found? I was following the instructions on GitHub which essentially just say to clone the repository and then make install.
Debian. But the issue isn’t with Cockpit, it’s with installing the 45Drives File Sharing plugin.
I’m following the instructions here, and npm is pulling from its registry, it complains that a 45drives/cockpit-css is missing? If I’m somehow wrong and this is nothing to do with 45Drives then I apologize but it looks like something’s horked in packages you own on the NPM Registry?
I haven’t personally installed it with that method. I do know that the ubuntu deb packages do work on native deb OS as it supports focal versions of the packages which Debian should.
Can you try adding our repo and installing from that?
Following. I’m finding myself in more of a headache with Rocky than I have ever in my Ubuntu boxes. Debian based distros just feel like home for me though as it’s what I “grew up on”. I too just don’t really want to run 20.04 but may end up using Ansible to write my configs for things like SMB and NFS where needed and using Nextcloud and Minio where I can instead.
Did you have the dependencies it asks for? # debian-like cockpit attr coreutils libc-bin nfs-kernel-server samba samba-common-bin systemd winbind gawk
Judging by the errors, it looks like NPM is pointing at their repo? That seems odd as per Hutch that package is Cockpit’s and should have been installed with Cockpit. I wonder if you could repoint it to the cockpit repo.