I am trying to package Fidus Writer, which is a python project. The packaging itself works by reusing most of a pypi setup.py file.
However, I am having trouble getting access to an
npm executable from within Fidus Writer. Fidus Writer needs to run npm every now and then while it is running (so not just for building). I tried to add
npm as a stage package, but the npm executable is not available that way.
For now what has worked is to add nodejs/npm as an extra make-part in which I basically download the nodejs sources and build them from scratch. It works, but it takes quite a bit of time to build nodejs/npm so I’d prefer installing a package of some kind.