Local Web App with NodeJS
Posted: 30 Aug 2016, 19:02
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"
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
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"
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