Hi all,
By the moment we are trying to do a first run of the 17th version of the portal in a VM.
We have already deployed the portal server and now we’re trying to run the portal ui. We have followed the steps here https://github.com/icgc-dcc/dcc-portal/blob/develop/dcc-portal-ui/README.md but when trying to start node development server (npm run dev) the following error appears:
As it is said in the error I’ll quote here the content in the mentioned log file (as a new user I cannot attach more than one image):
0 info it worked if it ends with ok
1 verbose cli [ ‘/usr/bin/node’, ‘/usr/bin/npm’, ‘run’, ‘dev’ ]
2 info using npm@2.15.1
3 info using node@v0.10.48
4 verbose node symlink /usr/bin/node
5 verbose run-script [ ‘predev’, ‘dev’, ‘postdev’ ]
6 info predev dcc-portal-ui@4.2.6-SNAPSHOT
7 verbose unsafe-perm in lifecycle true
8 info dcc-portal-ui@4.2.6-SNAPSHOT Failed to exec predev script
9 verbose stack Error: dcc-portal-ui@4.2.6-SNAPSHOT predev:npm run checkhost
9 verbose stack Exit status 1
9 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:217:16)
9 verbose stack at EventEmitter.emit (events.js:98:17)
9 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/lib/utils/spawn.js:24:14)
9 verbose stack at ChildProcess.emit (events.js:98:17)
9 verbose stack at maybeClose (child_process.js:766:16)
9 verbose stack at Process.ChildProcess._handle.onexit (child_process.js:833:5)
10 verbose pkgid dcc-portal-ui@4.2.6-SNAPSHOT
11 verbose cwd /transplant/peris/dcc-portal-4.3.17/dcc-portal-4.3.17/dcc-portal-ui
12 error Linux 3.2.0-29-virtual
13 error argv “/usr/bin/node” “/usr/bin/npm” “run” “dev”
14 error node v0.10.48
15 error npm v2.15.1
16 error code ELIFECYCLE
17 error dcc-portal-ui@4.2.6-SNAPSHOT predev:npm run checkhost
17 error Exit status 1
18 error Failed at the dcc-portal-ui@4.2.6-SNAPSHOT predev script ‘npm run checkhost’.
18 error This is most likely a problem with the dcc-portal-ui package,
18 error not with npm itself.
18 error Tell the author that this fails on your system:
18 error npm run checkhost
18 error You can get information on how to open an issue for this project with:
18 error npm bugs dcc-portal-ui
18 error Or if that isn’t available, you can get their info via:
18 error
18 error npm owner ls dcc-portal-ui
18 error There is likely additional logging output above.
19 verbose exit [ 1, true ]
Thanks for your attention,
Lorena