Error installing q2studio (QIIME 2 Core VirtualBox Image)

Hello everybody. First I would like to thank you for the great work on Qiime2

I have a problem installing q2studio. Error logs are below. I'm using QIIME 2 Core VirtualBox Image and q2studio-2021.4.0.zip from the installation tutorial.

Can anybody help me? Thanks, stay well.

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR! [email protected]"^15.0.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer [email protected]"^16.3.0" from [email protected]
npm ERR! node_modules/redux-devtools-dock-monitor
npm ERR! [email protected]"^1.1.1" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /home/qiime2/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/qiime2/.npm/_logs/2021-08-02T17_21_15_010Z-debug.log
(qiime2-2021.4) [email protected]:~/q2studio-2021.4.0$ node
Welcome to Node.js v15.14.0.

LOG

npm resolution error report

2021-08-02T17:11:56.245Z

While resolving: [email protected]
Found: [email protected]
node_modules/react
[email protected]"^15.0.1" from the root project

Could not resolve dependency:
peer [email protected]"^16.3.0" from [email protected]
node_modules/redux-devtools-dock-monitor
[email protected]"^1.1.1" from the root project

Fix the upstream dependency conflict, or retry
this command with --force, or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.

Raw JSON explanation object:

{
"code": "ERESOLVE",
"current": {
"name": "react",
"version": "15.7.0",
"whileInstalling": {
"name": "q2studio",
"version": "2021.4.0",
"path": "/home/qiime2/q2studio-2021.4.0"
},
"location": "node_modules/react",
"dependents": [
{
"type": "prod",
"name": "react",
"spec": "^15.0.1",
"from": {
"location": "/home/qiime2/q2studio-2021.4.0"
}
}
]
},
"currentEdge": {
"type": "prod",
"name": "react",
"spec": "^15.0.1",
"from": {
"location": "/home/qiime2/q2studio-2021.4.0"
}
},
"edge": {
"type": "peer",
"name": "react",
"spec": "^16.3.0",
"error": "INVALID",
"from": {
"name": "redux-devtools-dock-monitor",
"version": "1.2.0",
"whileInstalling": {
"name": "q2studio",
"version": "2021.4.0",
"path": "/home/qiime2/q2studio-2021.4.0"
},
"location": "node_modules/redux-devtools-dock-monitor",
"dependents": [
{
"type": "prod",
"name": "redux-devtools-dock-monitor",
"spec": "^1.1.1",
"from": {
"location": "/home/qiime2/q2studio-2021.4.0"
}
}
]
}
},
"peerConflict": null,
"strictPeerDeps": false,
"force": false
}

Hi @Antonio_Camilo, welcome to the :qiime2: forum!

We will be updating our q2studio instructions in our next release (2021.8) to address this issue, but in the meantime please follow the updated install steps found in this forum post. This should resolve the npm dependency issue you're running into!

Cheers,
Liz

1 Like

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