Qiime2 Studio error on Ubuntu 12.04

Hello,

I’m setting up QIIME2 Studio on an Ubuntu 12.04 LTS 64 bit platform. I’ve successfully installed QIIME2, and I am able to proceed through the installation instructions for the studio, until the following line:

npm install && npm run build

At this point I get the following output:

(qiime2-2017.10) [email protected]:~/q2studio-2017.10.0/q2studio-2017.10.0/q2studio-2017.10.0$ npm install && npm run build
npm http GET https://registry.npmjs.org/autoprefixer
npm http GET https://registry.npmjs.org/bootstrap-css-only
npm http GET https://registry.npmjs.org/crypto-js
npm http GET https://registry.npmjs.org/electron
npm http GET https://registry.npmjs.org/extract-text-webpack-plugin
npm http GET https://registry.npmjs.org/highlight.js
npm http GET https://registry.npmjs.org/html-webpack-plugin
npm http GET https://registry.npmjs.org/json-loader
npm http GET https://registry.npmjs.org/lodash
npm http GET https://registry.npmjs.org/moment
npm http GET https://registry.npmjs.org/rc-collapse
npm http GET https://registry.npmjs.org/react
npm http GET https://registry.npmjs.org/react-dom
npm http GET https://registry.npmjs.org/react-markdown
npm http GET https://registry.npmjs.org/react-redux
npm http GET https://registry.npmjs.org/react-router
npm http GET https://registry.npmjs.org/react-router-redux
npm http GET https://registry.npmjs.org/react-select-plus
npm http GET https://registry.npmjs.org/redux
npm http GET https://registry.npmjs.org/redux-devtools
npm http GET https://registry.npmjs.org/redux-devtools-dock-monitor
npm http GET https://registry.npmjs.org/redux-devtools-log-monitor
npm http GET https://registry.npmjs.org/redux-electron-store
npm http GET https://registry.npmjs.org/redux-thunk
npm http GET https://registry.npmjs.org/webpack
npm http GET https://registry.npmjs.org/which
npm http GET https://registry.npmjs.org/babel-cli
npm http GET https://registry.npmjs.org/babel-core
npm http GET https://registry.npmjs.org/babel-loader
npm http GET https://registry.npmjs.org/babel-plugin-transform-object-rest-spread
npm http GET https://registry.npmjs.org/babel-preset-es2015
npm http GET https://registry.npmjs.org/babel-preset-react
npm http GET https://registry.npmjs.org/chai
npm http GET https://registry.npmjs.org/chai-things
npm http GET https://registry.npmjs.org/concurrently
npm http GET https://registry.npmjs.org/cross-env
npm http GET https://registry.npmjs.org/css-loader
npm http GET https://registry.npmjs.org/deep-freeze/0.0.1
npm http GET https://registry.npmjs.org/electron-mocha
npm http GET https://registry.npmjs.org/eslint
npm http GET https://registry.npmjs.org/eslint-config-airbnb
npm http GET https://registry.npmjs.org/eslint-plugin-import
npm http GET https://registry.npmjs.org/eslint-plugin-jsx-a11y
npm http GET https://registry.npmjs.org/eslint-plugin-react
npm http GET https://registry.npmjs.org/file-loader
npm http GET https://registry.npmjs.org/mocha
npm http GET https://registry.npmjs.org/postcss-loader

npm ERR! Error: failed to fetch from registry: crypto-js
npm ERR!     at /usr/share/npm/lib/utils/npm-registry-client/get.js:139:12
npm ERR!     at cb (/usr/share/npm/lib/utils/npm-registry-client/request.js:31:9)
npm ERR!     at Request._callback (/usr/share/npm/lib/utils/npm-registry-client/request.js:136:18)
npm ERR!     at Request.callback (/usr/lib/nodejs/request/main.js:119:22)
npm ERR!     at Request.<anonymous> (/usr/lib/nodejs/request/main.js:212:58)
npm ERR!     at Request.emit (events.js:88:20)
npm ERR!     at ClientRequest.<anonymous> (/usr/lib/nodejs/request/main.js:412:12)
npm ERR!     at ClientRequest.emit (events.js:67:17)
npm ERR!     at HTTPParser.onIncoming (http.js:1261:11)
npm ERR!     at HTTPParser.onHeadersComplete (http.js:102:31)
npm ERR! You may report this log at:
npm ERR!     <http://bugs.debian.org/npm>
npm ERR! or use
npm ERR!     reportbug --attach /home/stephanie/q2studio-2017.10.0/q2studio-2017.10.0/q2studio-2017.10.0/npm-debug.log npm
npm ERR! 
npm ERR! System Linux 3.2.0-101-generic
npm ERR! command "node" "/usr/bin/npm" "install"
npm ERR! cwd /home/stephanie/q2studio-2017.10.0/q2studio-2017.10.0/q2studio-2017.10.0
npm ERR! node -v v0.6.12
npm ERR! npm -v 1.1.4
npm ERR! message failed to fetch from registry: crypto-js
npm http GET https://registry.npmjs.org/pre-commit
npm http GET https://registry.npmjs.org/react-hot-loader
npm http GET https://registry.npmjs.org/redux-logger
npm http GET https://registry.npmjs.org/style-loader
npm http GET https://registry.npmjs.org/stylelint
npm http GET https://registry.npmjs.org/stylelint-config-standard
npm http GET https://registry.npmjs.org/url-loader
npm http GET https://registry.npmjs.org/webpack-dev-server
npm http GET https://registry.npmjs.org/xvfb-maybe
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/stephanie/q2studio-2017.10.0/q2studio-2017.10.0/q2studio-2017.10.0/npm-debug.log
npm not ok

I have updated all of the Node.js packages and dependencies, and reinstalled npm. I was wondering if anyone has any ideas what might be causing these errors?

Thanks,

Dietrich

Hi @Djeppschmidt!

I think some of the problem is that Ubuntu 12.04 has a very stale version of Node.js and NPM.

Ideally you should be able to follow these instructions to get the latest version, but I haven’t tried them on Ubuntu 12.04 myself.

Once you have a more recent Node/NPM you should be able to try the installation instructions again.

Let me know how that goes!

1 Like

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