I read that the electron framework system requirements 
<https://stackoverflow.com/questions/36306450/what-is-minimum-system-requirements-to-run-electron-apps>
 
include an i686.

However, when I attempt to run them on my i686 (Intel Atom processor) I get 
the following error message:

leeand00@lenovo:~/Documents/lifehacker organized/docs/electronTest$ cat 
/home/leeand00/.npm/_logs/2019-01-17T21_24_35_452Z-d
ebug.log0 info it worked if it ends with ok1 verbose cli [ 
'/snap/node/1425/bin/node',1 verbose cli   '/snap/node/1425/bin/npm',1 verbose 
cli   'start' ]2 info using npm@6.4.13 info using node@v10.14.24 verbose 
run-script [ 'prestart', 'start', 'poststart' ]5 info lifecycle 
electrontest@1.0.0~prestart: electrontest@1.0.06 info lifecycle 
electrontest@1.0.0~start: electrontest@1.0.07 warn lifecycle The node binary 
used for scripts is /usr/bin/node but npm is using /snap/node/1425/bin/node 
itself. Use the
 `--scripts-prepend-node-path` option to include the path for the node binary 
npm was executed with.8 verbose lifecycle electrontest@1.0.0~start: unsafe-perm 
in lifecycle true9 verbose lifecycle electrontest@1.0.0~start: PATH: 
/snap/node/1425/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/leeand00/Documents/lifehacker
 
organized/docs/electronTest/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/s
bin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin10 verbose 
lifecycle electrontest@1.0.0~start: CWD: /home/leeand00/Documents/lifehacker 
organized/docs/electronTest11 silly lifecycle electrontest@1.0.0~start: Args: [ 
'-c', 'electron .' ]12 silly lifecycle electrontest@1.0.0~start: Returned: 
code: 1  signal: null13 info lifecycle electrontest@1.0.0~start: Failed to exec 
start script14 verbose stack Error: electrontest@1.0.0 start: `electron .`14 
verbose stack Exit status 114 verbose stack     at EventEmitter.<anonymous> 
(/snap/node/1425/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)14
 verbose stack     at EventEmitter.emit (events.js:182:13)14 verbose stack     
at ChildProcess.<anonymous> 
(/snap/node/1425/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.
js:55:14)
leeand00@lenovo:~/Documents/lifehacker organized/docs/electronTest$ 
/snap/bin/npm --scripts-prepend-node-path /snap/bin/node
  start
npm WARN invalid config scripts-prepend-node-path="/snap/bin/node"
npm WARN lifecycle The node binary used for scripts is /usr/bin/node but npm is 
using /snap/node/1425/bin/node itself. Use t
he `--scripts-prepend-node-path` option to include the path for the node binary 
npm was executed with.
> electrontest@1.0.0 start /home/leeand00/Documents/lifehacker 
> organized/docs/electronTest> electron .

Do I have to install / compile electron some other way in order to use it 
on an i686?

I do have an i686:

leeand00@lenovo:~/Documents/lifehacker organized/docs/electronTest$ 
lscpuArchitecture:          i686
CPU op-mode(s):        32-bitByte Order:            Little Endian
CPU(s):                2On-line CPU(s) list:   0,1Thread(s) per core:    
2Core(s) per socket:    1Socket(s):             1Vendor ID:             
GenuineIntel
CPU family:            6Model:                 28Model name:            
Intel(R) Atom(TM) CPU N270   @ 1.60GHzStepping:              2
CPU MHz:               1600.000
CPU max MHz:           1600.0000
CPU min MHz:           800.0000BogoMIPS:              3191.99
L1d cache:             24K
L1i cache:             32K
L2 cache:              512KFlags:                 fpu vme de tsc msr pae mce 
cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss h
t tm pbe nx constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor 
ds_cpl est tm2 ssse3 xtpr pdcm movbe lahf_lm dt
herm


<goog_1957653330>

<goog_1957653330>

<goog_1957653330>
https://stackoverflow.com/questions/54282050/run-electron-js-on-an-i686


-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
To post to this group, send email to nodejs@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/5cfcac70-4d36-4670-90fb-3398c1518d58%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to