Problem with q2studio in Windows subsystem for linux

I tried to install the q2studio by using npm. Then, I ran "npm start" and get some error. It shows that it failed at the [email protected] start script. Please help!

Error massages are shown below:
(qiime2-2018.8) vorthon@DESKTOP-BCB5NP1:~/q2studio-2018.8.0$ sudo npm start

[email protected] start /home/vorthon/q2studio-2018.8.0
cross-env NODE_ENV=production electron -r babel-register build/main.js

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: cross-env NODE_ENV=production electron -r babel-register build/main.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/vorthon/.npm/_logs/2018-09-22T17_37_28_514Z-debug.log

Details of debug log:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle [email protected]~prestart: [email protected]
6 info lifecycle [email protected]~start: [email protected]
7 verbose lifecycle [email protected]~start: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]~start: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/vorthon/q2studio-2018.8.0/node_modules/.bin:/home/vorthon/miniconda3/envs/qiime2-2018.8/bin:/home/vorthon/miniconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Program Files (x86)/Common Files/Oracle/Java/javapath_target_474656218:/mnt/d/Programfile_D/QuantStudio/bin:/mnt/c/ProgramData/Oracle/Java/javapath_target_474811593:/mnt/d/Programfile_D/StepOnePlusSoftware/bin:/mnt/d/Programfile_D/StepOnePlusSoftware/eclipse:/mnt/d/Programfile_D/StepOnePlusSoftware/eclipse/plugins/com.apldbio.sds.experiment.genotyping_2.1.0/bin:/mnt/d/Programfile_D/StepOnePlusSoftware/eclipse/plugins/com.apldbio.sds.experiment.genotyping_2.1.0/bin/bin/win32:/mnt/c/Program Files (x86)/Intel/iCLS Client:/mnt/c/Program Files/Intel/iCLS Client:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/IPT:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Windows/System32/OpenSSH:/mnt/c/Program Files/MEGA-X:/mnt/c/Program Files/Intel/WiFi/bin:/mnt/c/Program Files/Common Files/Intel/WirelessCommon:/mnt/c/Users/vorthon/AppData/Local/Microsoft/WindowsApps:/snap/bin
9 verbose lifecycle [email protected]~start: CWD: /home/vorthon/q2studio-2018.8.0
10 silly lifecycle [email protected]~start: Args: [ '-c',
10 silly lifecycle 'cross-env NODE_ENV=production electron -r babel-register build/main.js' ]
11 silly lifecycle [email protected]~start: Returned: code: 1 signal: null
12 info lifecycle [email protected]~start: Failed to exec start script
13 verbose stack Error: [email protected] start: cross-env NODE_ENV=production electron -r babel-register build/main.js
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
13 verbose stack at EventEmitter.emit (events.js:182:13)
13 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:182:13)
13 verbose stack at maybeClose (internal/child_process.js:962:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
14 verbose pkgid [email protected]
15 verbose cwd /home/vorthon/q2studio-2018.8.0
16 verbose Linux 4.4.0-17134-Microsoft
17 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
18 verbose node v10.10.0
19 verbose npm v6.4.1
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] start: cross-env NODE_ENV=production electron -r babel-register build/main.js
22 error Exit status 1
23 error Failed at the [email protected] start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

Hi @Vorthon,
There was a problem with qiime2studio with the 2018.8 release. See this announcement from a couple of days regarding a newer image that is fixes those issues. You probably just need that newest release.

1 Like

Thank you for your suggestion!
Just re-install it, It works very well.

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.