Help needed on Javascript scope
Bertrand CHEVRIER
chevrier.bertrand at gmail.com
Sun Jun 26 20:51:01 UTC 2016
Hi there,
I'm having multiple issues developing a scope with the JavaScript tools:
1. Running the scope on a device :
I'm able to run the scope on the desktop but I'm unable to to run it on the
phone. My scope uses an npm dependency (sqlite3) that needs to be build
against the current architecture (npm install or unity-js-scopes-tool
install) on the targeted arch because this dependencies has some C++
bindings. I've integrated the command to the CMakeLists.txt
<https://github.com/krampstudio/stars-scope/blob/master/CMakeLists.txt>
file but then I'm having an issue by running the app :
Error: Cannot find module '/opt/
click.ubuntu.com/stars.krampstudio/0.1.0/stars/node_modules/sqlite3/lib/binding/node-v46-linux-arm/node_sqlite3.node
'
2. After having the previous error, the scopes app on my phone is frozen.
Everything else works but the scopes, so I need to restart the phone
between each "run".
3. I've tried to check on the click package itself but the "maintain"
option from the SDK has no effect. What's the command to get inside a click
package ? I'd like to run the install by myself otherwise.
Is there a kind of mentoring for app/scope development, I'm an ubuntu touch
hobbyist and is Qt/Qml/cmake/click illiterate because I'm sure I'm doing a
lot of stupid errors particularly on the building steps.
If one have a few minutes to review my code, it will help me :
https://github.com/krampstudio/stars-scope
best,
--
http://krampstudio.com
http://github.com/krampstudio
https://twitter.com/kramp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-app-devel/attachments/20160626/c6d3f58b/attachment.html>
More information about the Ubuntu-app-devel
mailing list