Facing dificulties for building frontend using node 16.20.2 on Ubuntu 22.04

117 views
Skip to first unread message

Md Monirul Islam Ansari

unread,
Jan 27, 2024, 10:47:55 AM1/27/24
to DSpace Community
Hello everyone,
                            We are trying to install DSpace 7.6 on our Ubuntu 22.04 LTS release where we are configured 16 GB RAM and i5 11th Gen.
We have already installed prerequisite dependency for bulding dspace frontend after adding dspace user and directory and downloaded dspace 7.6 user interface tar file, after unzip the file and open the diretry from our terminal and run the command below:

cl@central-library-opac:~/dspace-7-angular$ sudo yarn install
yarn install v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
error @angular/anima...@15.2.8: The engine "node" is incompatible with this module. Expected version "^14.20.0 || ^16.13.0 || >=18.10.0". Got "12.22.9"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.


If anyone found something what's wrong here please report here, we will be glad to hear from you.

Love from us
Thanks and regards,
Central Library, NIT Agartala

DSpace Community

unread,
Feb 9, 2024, 11:01:48 AM2/9/24
to DSpace Community
Hi,
If you are still facing this issue, it appears to be an issue with the version of Node.  The error from "yarn" that you sent appears to be saying that it is finding Node version 12.22.9 and *not* Node v16.

I'm not sure entirely why it is finding a different version of Node.js if you have Node v16 installed.  But, you might want to see if you can change your $PATH env variable to ensure that Node v16 is listed first.  Or, you could uninstall the Node v12 if it's not necessary on the system.

Tim

Md Monirul Islam Ansari

unread,
Feb 9, 2024, 11:57:04 AM2/9/24
to DSpace Community
Actually, we were able to solve this issue...but we stucked in another one,, that's Instalation of Solr...

We are using Ubuntu 22.04 LTS and wanted to install solr 9.8.4.2 but unable to do so....can anyone know this issue and it's solution?

Thanks and regards,
Team Trainees,
NIT Agartala, Library

--
All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to a topic in the Google Groups "DSpace Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dspace-community/saDfJTT2-6E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dspace-communi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-community/4a8016ae-4265-4d69-a4f7-c806f34e986an%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages