Problem when install qiime2 studio

(qiime2-2017.12) hzh0005@hzh0005:~/qiiem2-studio/q2studio-2017.12.0$ npm install && npm run build
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.1.3

q2studio@2017.12.0 build /home/hzh0005/qiiem2-studio/q2studio-2017.12.0
npm run build:main && npm run build:render

q2studio@2017.12.0 build:main /home/hzh0005/qiiem2-studio/q2studio-2017.12.0
webpack --config config/webpack.main.config.js

Hash: c657c43cd474598d9123
Version: webpack 1.15.0
Time: 3905ms
Asset Size Chunks Chunk Names
main.js 50.8 kB 0 [emitted] main
[0] multi main 28 bytes {0} [built]
+ 153 hidden modules

q2studio@2017.12.0 build:render /home/hzh0005/qiiem2-studio/q2studio-2017.12.0
webpack --config config/webpack.prod.config.js

Hash: 0a6f8d19954af4ac504c
Version: webpack 1.15.0
Time: 37212ms
Asset Size Chunks Chunk Names
js/bundle.js 1.95 MB 0 [emitted] main
css/main.css 2.09 kB 0 [emitted] main
index.html 613 bytes [emitted]
[0] multi main 28 bytes {0} [built]
+ 1110 hidden modules
Child html-webpack-plugin for "index.html":
+ 3 hidden modules
Child extract-text-webpack-plugin:
+ 2 hidden modules
Child extract-text-webpack-plugin:
+ 2 hidden modules
Child extract-text-webpack-plugin:
+ 2 hidden modules
(qiime2-2017.12) hzh0005@hzh0005:~/qiiem2-studio/q2studio-2017.12.0$ npm start

q2studio@2017.12.0 start /home/hzh0005/qiiem2-studio/q2studio-2017.12.0
cross-env NODE_ENV=production electron -r babel-register build/main.js

/home/hzh0005/qiiem2-studio/q2studio-2017.12.0/node_modules/electron/dist/electron: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory

npm ERR! Linux 4.13.0-32-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "start"
npm ERR! node v6.11.4
npm ERR! npm v3.5.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! q2studio@2017.12.0 start: cross-env NODE_ENV=production electron -r babel-register build/main.js
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the q2studio@2017.12.0 start script 'cross-env NODE_ENV=production electron -r babel-register build/main.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the q2studio package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cross-env NODE_ENV=production electron -r babel-register build/main.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs q2studio
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls q2studio
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/hzh0005/qiiem2-studio/q2studio-2017.12.0/npm-debug.log

Hello Tom,

As far as I know, q2studio is still in development and might be tricky to install. Let us see if @jairideout has any recommendations about installing this software.

Colin

Hi @hzh0005,

I think this snippet is the relevant issue:

Googling, it looks like if you installed that external library it should resolve the problem.
For example if you were on an Ubuntu/Debian based distro you could run something like:

apt-get install libgconf-2-4

and then run the above again.

Let me know if that gets you on the right track!

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