From: Christopher Howard <christopher@librehacker.com>
To: 75295@debbugs.gnu.org
Subject: bug#75295: emacs-math-preview: add math-preview dependency?
Date: Thu, 02 Jan 2025 09:18:45 -0900 [thread overview]
Message-ID: <875xmxuliy.fsf@librehacker.com> (raw)
Hi, the package emacs-math-preview requires nodejs package math-preview to be installed, in order to work. Would it be possible Somebody™ could create a package for that and add it as an explicit dependency for emacs-math-preview?
I know nothing about nodejs and am having trouble figuring out how to install math-preview myself on Guix. The README.md instructions in emacs-math-preview state:
> It may be installed by issuing the command:
>
> ```bash
> > npm install -g git+https://gitlab.com/matsievskiysv/math-preview
> ```
However, if I do this, I get this error:
```
christopher@theoden ~$ npm install -g git+https://gitlab.com/matsievskiysv/math-preview
npm ERR! code ENOENT
npm ERR! syscall mkdir
npm ERR! path /gnu/store/lknvzfbwqffvvyflid5dpm53vbjg8kh4-node-18.19.0/lib/node_modules/math-preview
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, mkdir '/gnu/store/lknvzfbwqffvvyflid5dpm53vbjg8kh4-node-18.19.0/lib/node_modules/math-preview'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in: /home/christopher/.npm/_logs/2025-01-02T18_16_26_364Z-debug-0.log
```
Evidently, I need to somehow pick a different path or something like that. If somebody could at least document the correct installation steps here, that would be helpful.
--
📛 Christopher Howard
🚀 gemini://gem.librehacker.com
🌐 http://gem.librehacker.com
בראשית ברא אלהים את השמים ואת הארץ
next reply other threads:[~2025-01-02 19:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-02 18:18 Christopher Howard [this message]
2025-01-03 12:30 ` bug#75295: emacs-math-preview: add math-preview dependency? muradm
2025-01-03 17:09 ` Christopher Howard
2025-01-03 17:54 ` muradm
2025-01-03 18:18 ` Christopher Howard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875xmxuliy.fsf@librehacker.com \
--to=christopher@librehacker.com \
--cc=75295@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).