today's CLI upgrade broke right away

17 views
Skip to first unread message

David Lyons

unread,
Feb 5, 2025, 11:22:40 AM2/5/25
to pretext...@googlegroups.com
I just installed today's CLI upgrade and then pretext broke right away. Here's my new error when I run
% pretext build student

critical: Unable to install required npm packages to build css files.  To use your selected HTML theme, you must have node.js and npm installed.

I tried to fix it with 
% pretext install npm --upgrade

that ran okay, but 
% pretext install node.js 

returns this error

ERROR: Could not find a version that satisfies the requirement node.js (from versions: none)

ERROR: No matching distribution found for node.js






David W. Lyons 
Mathematical Sciences, Lebanon Valley College
quantum.lvc.edu/lyons               +1 717 867 6081

Oscar Levin

unread,
Feb 5, 2025, 12:08:38 PM2/5/25
to PreTeXt support
I don't think `pretext install ...` would do anything, maybe you tried something else.

What do you get if you run `node -v` and `npm -v`?

Andrew Scholer

unread,
Feb 5, 2025, 12:14:49 PM2/5/25
to pretext...@googlegroups.com
I am guessing you did "pip install..." If so, Node is not a python package. 


Andrew Scholer (he/him/his)
Computer Science Instructor
Chemeketa Community College


--
You received this message because you are subscribed to the Google Groups "PreTeXt support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pretext-suppo...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/pretext-support/50fddb54-b640-4685-a7a3-06b4a8be093en%40googlegroups.com.

David Lyons

unread,
Feb 5, 2025, 1:05:04 PM2/5/25
to PreTeXt support
I got the node.js install to work. Now pretext build is working fine again.

Thanks!

Reply all
Reply to author
Forward
0 new messages