Stream: troubleshooting

Topic: building the SPA on Rocky 9


view this post on Zulip Philip Durbin ๐Ÿš€ (Aug 21 2025 at 19:10):

This is the version of nodejs I have:

[dataverse@dev1 dataverse-frontend]$ rpm -q nodejs
nodejs-16.20.2-8.el9_4.x86_64

I run npm install and it seems to make progress for a while but hangs.

@Don Sizemore (and others) does this work for you? I did a yum install of nodejs because I saw it here: https://github.com/gdcc/dataverse-ansible/blob/4f5691f1302550298f30b4c40655e39e096692e7/tasks/dataverse-frontend.yml#L8

view this post on Zulip Don Sizemore (Aug 21 2025 at 19:21):

I thought the SPA required 18 or 20 these days? Guillermo had me turn that task off a while back because the SPA wasn't ready (back then).

view this post on Zulip Philip Durbin ๐Ÿš€ (Aug 21 2025 at 19:23):

Oh, maybe you're right. I only read the first part of https://github.com/IQSS/dataverse-frontend/blob/v0.1.0/DEVELOPER_GUIDE.md#prerequisites which says this:

  1. Node & NPM: node >= v16 and npm >= v8. Recommended versions for this project are node v19 and npm v9.

view this post on Zulip Philip Durbin ๐Ÿš€ (Aug 21 2025 at 19:23):

Is there a sane way to get node 19 on Rocky 9?

view this post on Zulip Philip Durbin ๐Ÿš€ (Aug 26 2025 at 15:29):

I'm having good luck with nvm ( https://github.com/nvm-sh/nvm ) which is what I use on my Mac laptop.

view this post on Zulip Don Sizemore (Aug 26 2025 at 15:49):

@Philip Durbin ๐Ÿš€ should be able to $ dnf module install nodejs:20/common?

view this post on Zulip Philip Durbin ๐Ÿš€ (Aug 26 2025 at 15:49):

orly

view this post on Zulip Philip Durbin ๐Ÿš€ (Aug 26 2025 at 17:40):

For now I posted the nvm version here: #ui-dev > SPA installation guide @ ๐Ÿ’ฌ


Last updated: Oct 30 2025 at 06:21 UTC