Open main menu

DAVE Developer's Wiki β

Changes

no edit summary
{{InfoBoxTop}}
{{AppliesToSBCX}}
{{AppliesToAxel}}
{{AppliesToAxelEsatta}}
{{AppliesToAxelLite}}
{{AppliesToAxelEsattaAppliesToAXEL Lite TN}}{{AppliesToSMARX TN}}{{AppliesToSBCX}}{{AppliesToSBC Axel TN}}
{{InfoBoxBottom}}
{{WarningMessage|text=This technical note was validated against specific versions of hardware and software. It may not work with other versions.}}
root@imx6qdlxelk:~# npm install -g electron@6.1.5 --unsafe-perm=true
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
/home/root/.nvm/versions/node/v12.1817.10/bin/electron -> /home/root/.nvm/versions/node/v12.17.0/lib/node_modules/electron/cli.js
> electron@6.1.5 postinstall /home/root/.nvm/versions/node/v12.1817.10/lib/node_modules/electron
> node install.js
<pre class="board-terminal">
root@imx6qdlxelk:~# node --version
v12.1817.10
root@imx6qdlxelk:~# electron --version --no-sandbox
v6.1.5
And finally get the ''electron'' framework running using:
/home/root/.nvm/versions/node/v12.1817.10/bin/electron --no-sandbox https://www.electronjs.org/
and the web site is available on the screen:
[[File:SBCX-electron-web.png|thumb|center|600px|<code>electron</code> web site running on SBCX]]
8,226
edits