pdfkit node-red keeps loading

57 views
Skip to first unread message

Sven Jacobs

unread,
Feb 4, 2017, 4:46:11 PM2/4/17
to Node-RED, Sven Jacobs
Hello 

We are adding node.js nodes to our node-red so we can do some more stuff.
We need to generate pdf files, i tried to add different pdf nodes but none seem to work.
When I add them and start node-red i can login to node-red editor console but then he keeps loading his nodes on the left side.

for the moment i added the following line in my docker build file
RUN npm install pdfkit
and this in my settings.js
pdfkit:require('pdfkit')

I changed the level to trace but no specific errors are showing up. had this also with some modules to generate qrcodes ...


anybody any ideas?

Dave C-J

unread,
Feb 4, 2017, 5:41:00 PM2/4/17
to node...@googlegroups.com
The npm install command needs to be run in the node-red user did (usually ~/.node-red). Not sure where it defaults to on docker.
Reply all
Reply to author
Forward
0 new messages