Page 1 of 1

Local Web App with NodeJS

Posted: 30 Aug 2016, 19:02
by GraysonP
Greetings,
I am attempting to add a NodeJS module to my build in order to host a local web application and I'm having a lot of difficulties. I am using Porteus Kiosk 4.0. I have created two modules, the first has a simple NodeJS App and the other has the latest NodeJS with NPM. Adding these modules to Porteus Desktop "modules" directory works perfectly, but when I add them to Porteus Kiosk xzm folder I am receiving this error:

"/init: exec: line 104: /sbin/switch_root: not found"
Image

I figure it is a matter of resolving dependencies, so I created a new "core-extension" module containing "/sbin/" and I copied switch_root from Porteus Desktop /sbin. The error continues to come up and hasn't changed. Is there a way to figure out and get all of the dependencies, if that is what the error is indicating?

I would really appreciate any assistance,
Thanks

Re: Local Web App with NodeJS

Posted: 18 Jul 2017, 06:32
by gargas
Hello,
I have same problem. Is existing any solution?
Thank you

Re: Local Web App with NodeJS

Posted: 18 Jul 2017, 12:53
by GraysonP
I spoke with support and I ended up paying for a custom build of the OS. It was pretty inexpensive and saved me time and a headache. I would like to revisit this some time though and try again to create my own custom build. I'll post that as a reply here if I ever get around to it. For now, that is all I can offer.