Open davide125 opened 2 years ago
Is that a usecase at all: installing MM via npm? or what good would a package at the registry be?
It makes packaging MM for Linux distros a bit easier (as they often have tooling for importing content from npm). I suspect some users might also end up installing MM from npm out of habit, as it's pretty common for node projects to use it.
well, up to @MichMich to publish a new version on npm. Not sure what he thinks...
@MichMich could you give some feedback to this issue?
That's a good point. I want to limit the amount of ways to install MagicMirror, due to maintenance for the contributors. But if we can find a clean solution to install using npm or yarn, I'm all for it.
The issue we had back then. Is that you couldn't install it to a specific folder using npm. Not sure if that has changed.
I can run a npm i --prefix mm magicmirror
without any problems. Not sure if that was the troublesome usecase but maybe @davide125 can weigh in on how he wants to install it (and maybe check if the current npm can isntall this old npm module)
In my case I wanted to use npm as the source for packaging magicmirror in Fedora. The packaging tooling in Fedora is designed around pulling sources from npm. It's not mandatory (and I'm working around it at the moment), but it makes things much easier. If you're curious, https://bugzilla.redhat.com/show_bug.cgi?id=2103400 is where the packaging work is happening (that's at an old version for now because it still needs to pass review, I will update it to the latest before importing once it's approved and keep it up to date afterwards).
so can you check if the old version of mm install cleanly for your usecase? if so we can update the npm package to the latest version
Yes, I just checked and it works fine for this. Thanks!
so might be worth updating the mm package in npm if there's no extra work needed ATM. No guaranteee for the future though, right @MichMich ?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I still would like to update the npm registry with the newest version, maybe @MichMich can give me the rights there...
Yes
On Sun, 6 Oct 2024, 14:30 Veeck, @.***> wrote:
I still would like to update the npm registry with the newest version, maybe @MichMich https://github.com/MichMich can give me the rights there...
— Reply to this email directly, view it on GitHub https://github.com/MagicMirrorOrg/MagicMirror/issues/2876#issuecomment-2395441361, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMBWX335EK6S72UQ2SJ7YLZ2E3PBAVCNFSM6AAAAABPNUXO7CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJVGQ2DCMZWGE . You are receiving this because you are subscribed to this thread.Message ID: @.***>
npm has a magicmirror package, but it's a very old version (2.0.0): https://www.npmjs.com/package/magicmirror . In spite of this, it seems to be actively used and downloaded (22 times in the last 7 days according to the stats). Please consider updating the npm package to the latest tagged version (and ideally keeping it up to date in the future). Thanks!