[dspace-tech] Yarn install failing

2022-01-27 Thread Lewatle Johannes Phaladi
Dear DSpace colleagues,

I am installing frontend and when running $yarn install I an getting error, 
but the server is on work network that has no issues, please see the 
following screenshot:

Regards,
Lewatle 

-- 
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 the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/2b2bdd1e-8a50-4240-af9a-1df358ba8e0an%40googlegroups.com.


Re: [dspace-tech] Yarn install failing

2022-01-27 Thread 'Tim Donohue' via DSpace Technical Support
Hi Lewatle,

By searching that Yarn error on Google, I came across this suggestion from 
StackOverflow: https://stackoverflow.com/a/51508426  It notes that in some 
cases, Yarn may be timing out when downloading a larger package. You can get 
around it by using the "--network-timeout" flag.

So, you could try instead using something like this:

yarn install --network-timeout 10

Let us know if that works or helps. If so, we could add that as a hint in the 
Installation Guide for others who may encounter this same issue in the future.

Tim

From: dspace-tech@googlegroups.com  on behalf of 
Lewatle Johannes Phaladi 
Sent: Thursday, January 27, 2022 7:46 AM
To: DSpace Technical Support 
Subject: [dspace-tech] Yarn install failing

Dear DSpace colleagues,

I am installing frontend and when running $yarn install I an getting error, but 
the server is on work network that has no issues, please see the following 
screenshot:

Regards,
Lewatle

--
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 the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
dspace-tech+unsubscr...@googlegroups.com<mailto:dspace-tech+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/2b2bdd1e-8a50-4240-af9a-1df358ba8e0an%40googlegroups.com<https://groups.google.com/d/msgid/dspace-tech/2b2bdd1e-8a50-4240-af9a-1df358ba8e0an%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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 the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/BN6PR2201MB11377571DACF338463FEBDB2ED219%40BN6PR2201MB1137.namprd22.prod.outlook.com.


Re: [dspace-tech] Yarn install failing

2022-01-27 Thread Lewatle Johannes Phaladi
Hi Tim, 

After running yarn install  --network-timeout 10

I am getting module version error, I am installing dspace 7.1 on ubuntu 
20.04  

dspace@wiredspace-dev:~/install/dspace-angular$ yarn install 
--network-timeout 10
yarn install v1.22.17
[1/4] Resolving packages...
[2/4] Fetching packages...
error @angular-devkit/architect@0.1200.5: The engine "node" is incompatible 
with   

   this module. Expected version "^12.14.1 || >=14.0.0". Got 
"10.19.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about 
this   

   command.


Regards,
Lewatle
On Thursday, 27 January 2022 at 18:10:32 UTC+2 Tim Donohue wrote:

> Hi Lewatle,
>
> By searching that Yarn error on Google, I came across this suggestion from 
> StackOverflow: https://stackoverflow.com/a/51508426  It notes that in 
> some cases, Yarn may be timing out when downloading a larger package. You 
> can get around it by using the "--network-timeout" flag.
>
> So, you could try instead using something like this:
>
> yarn install --network-timeout 10
>
> Let us know if that works or helps. If so, we could add that as a hint in 
> the Installation Guide for others who may encounter this same issue in the 
> future.
>
> Tim
> --
> *From:* dspac...@googlegroups.com  on behalf 
> of Lewatle Johannes Phaladi 
> *Sent:* Thursday, January 27, 2022 7:46 AM
> *To:* DSpace Technical Support 
> *Subject:* [dspace-tech] Yarn install failing 
>  
> Dear DSpace colleagues, 
>
> I am installing frontend and when running $yarn install I an getting 
> error, but the server is on work network that has no issues, please see the 
> following screenshot:
>
> Regards,
> Lewatle 
>
> -- 
> 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 the Google Groups 
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to dspace-tech...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/dspace-tech/2b2bdd1e-8a50-4240-af9a-1df358ba8e0an%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/dspace-tech/2b2bdd1e-8a50-4240-af9a-1df358ba8e0an%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/945f8d4f-4cb0-4ebb-a186-7f559e9f5dfan%40googlegroups.com.


Re: [dspace-tech] Yarn install failing

2022-01-28 Thread Mark H. Wood
On Thu, Jan 27, 2022 at 10:56:23PM -0800, Lewatle Johannes Phaladi wrote:
> Hi Tim, 
> 
> After running yarn install  --network-timeout 10
> 
> I am getting module version error, I am installing dspace 7.1 on ubuntu 
> 20.04  
> 
> dspace@wiredspace-dev:~/install/dspace-angular$ yarn install 
> --network-timeout 10
> yarn install v1.22.17
> [1/4] Resolving packages...
> [2/4] Fetching packages...
> error @angular-devkit/architect@0.1200.5: The engine "node" is incompatible 
> with   
> 
>this module. Expected version "^12.14.1 || >=14.0.0". Got 
> "10.19.0"
> error Found incompatible module.

You need a newer version of 'nodejs'.  I don't have an Ubuntu system
handy to check, but Raspbian (also derived from Debian) Bullseye has
nodejs 12.22.5 which should be new enough.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu

-- 
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 the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/YfPo7H4CNeeCs8r1%40IUPUI.Edu.


signature.asc
Description: PGP signature


Re: [dspace-tech] Yarn install failing

2022-01-28 Thread Mohammad S. AlMutairi
He needs to remove the old nodejs package and also remove the Node.js 10.x 
distributions repository file before upgrading to the new version. He can 
do this:

1) sudo apt purge nodejs
2) sudo rm -rf /etc/apt/sources.list.d/nodesource.list
3) sudo curl -sL https://deb.nodesource.com/setup_14.x | bash -
4) sudo apt install nodejs
5) node --version

On Friday, January 28, 2022 at 4:00:32 PM UTC+3 Mark H. Wood wrote:

> On Thu, Jan 27, 2022 at 10:56:23PM -0800, Lewatle Johannes Phaladi wrote:
> > Hi Tim, 
> > 
> > After running yarn install --network-timeout 10
> > 
> > I am getting module version error, I am installing dspace 7.1 on ubuntu 
> > 20.04 
> > 
> > dspace@wiredspace-dev:~/install/dspace-angular$ yarn install 
> > --network-timeout 10
> > yarn install v1.22.17
> > [1/4] Resolving packages...
> > [2/4] Fetching packages...
> > error @angular-devkit/arch...@0.1200.5: The engine "node" is 
> incompatible 
> > with 
> > 
> > this module. Expected version "^12.14.1 || >=14.0.0". Got 
> > "10.19.0"
> > error Found incompatible module.
>
> You need a newer version of 'nodejs'. I don't have an Ubuntu system
> handy to check, but Raspbian (also derived from Debian) Bullseye has
> nodejs 12.22.5 which should be new enough.
>
> -- 
> Mark H. Wood
> Lead Technology Analyst
>
> University Library
> Indiana University - Purdue University Indianapolis
> 755 W. Michigan Street
> Indianapolis, IN 46202
> 317-274-0749 <(317)%20274-0749>
> www.ulib.iupui.edu
>

-- 
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 the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/f680dba8-1569-4ad7-aae2-2037e6da8870n%40googlegroups.com.


Re: [dspace-tech] Yarn install failing

2022-01-28 Thread 'Tim Donohue' via DSpace Technical Support
Hi Lewatle,

That error message says you are running Node v10.19.0, but it's not supported.  
The DSpace UI only currently supports Node v12 or v14. See 
https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-Node.js(v12.xorv14.x)

So, you need to upgrade Node.

Tim



From: dspace-tech@googlegroups.com  on behalf of 
Lewatle Johannes Phaladi 
Sent: Friday, January 28, 2022 12:56 AM
To: DSpace Technical Support 
Subject: Re: [dspace-tech] Yarn install failing

Hi Tim,

After running yarn install  --network-timeout 10

I am getting module version error, I am installing dspace 7.1 on ubuntu 20.04

dspace@wiredspace-dev:~/install/dspace-angular$ yarn install --network-timeout 
10
yarn install v1.22.17
[1/4] Resolving packages...
[2/4] Fetching packages...
error @angular-devkit/architect@0.1200.5: The engine "node" is incompatible 
with

  this module. Expected version "^12.14.1 || >=14.0.0". Got "10.19.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this 

 
command.


Regards,
Lewatle
On Thursday, 27 January 2022 at 18:10:32 UTC+2 Tim Donohue wrote:
Hi Lewatle,

By searching that Yarn error on Google, I came across this suggestion from 
StackOverflow: https://stackoverflow.com/a/51508426  It notes that in some 
cases, Yarn may be timing out when downloading a larger package. You can get 
around it by using the "--network-timeout" flag.

So, you could try instead using something like this:

yarn install --network-timeout 10

Let us know if that works or helps. If so, we could add that as a hint in the 
Installation Guide for others who may encounter this same issue in the future.

Tim

From: dspac...@googlegroups.com  on behalf of 
Lewatle Johannes Phaladi 
Sent: Thursday, January 27, 2022 7:46 AM
To: DSpace Technical Support 
Subject: [dspace-tech] Yarn install failing

Dear DSpace colleagues,

I am installing frontend and when running $yarn install I an getting error, but 
the server is on work network that has no issues, please see the following 
screenshot:

Regards,
Lewatle

--
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 the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/2b2bdd1e-8a50-4240-af9a-1df358ba8e0an%40googlegroups.com<https://groups.google.com/d/msgid/dspace-tech/2b2bdd1e-8a50-4240-af9a-1df358ba8e0an%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
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 the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
dspace-tech+unsubscr...@googlegroups.com<mailto:dspace-tech+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/945f8d4f-4cb0-4ebb-a186-7f559e9f5dfan%40googlegroups.com<https://groups.google.com/d/msgid/dspace-tech/945f8d4f-4cb0-4ebb-a186-7f559e9f5dfan%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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 the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/BN6PR2201MB1137E1C70C0B604E5D0EDB21ED229%40BN6PR2201MB1137.namprd22.prod.outlook.com.


Re: [dspace-tech] Yarn install failing

2022-01-31 Thread Lewatle Johannes Phaladi
Dear DSpace Colleagues,

Much appreciated for all in responding with very helpful information, I 
have tried the steps to install node version 14.x but when I run $sudo apt 
install nodejs ubuntu keeps on installing version 10.19.0, is there anyway 
to only install version 14.x 

Regards,
Lewatle  

On Friday, 28 January 2022 at 17:51:36 UTC+2 Tim Donohue wrote:

> Hi Lewatle,
>
> That error message says you are running Node v10.19.0, but it's not 
> supported.  The DSpace UI only currently supports Node v12 or v14. See 
> https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-Node.js(v12.xorv14.x)
>
> So, you need to upgrade Node.
>
> Tim
>
>
> --
> *From:* dspac...@googlegroups.com  on behalf 
> of Lewatle Johannes Phaladi 
> *Sent:* Friday, January 28, 2022 12:56 AM
>
> *To:* DSpace Technical Support 
> *Subject:* Re: [dspace-tech] Yarn install failing 
>  
> Hi Tim,  
>
> After running yarn install  --network-timeout 10
>
> I am getting module version error, I am installing dspace 7.1 on ubuntu 
> 20.04  
>
> dspace@wiredspace-dev:~/install/dspace-angular$ yarn install 
> --network-timeout 10
> yarn install v1.22.17
> [1/4] Resolving packages...
> [2/4] Fetching packages...
> error @angular-devkit/arch...@0.1200.5: The engine "node" is incompatible 
> with   
> 
>this module. Expected version "^12.14.1 || >=14.0.0". Got 
> "10.19.0"
> error Found incompatible module.
> info Visit https://yarnpkg.com/en/docs/cli/install for documentation 
> about this 
> 
>  command.
>
>
> Regards,
> Lewatle
> On Thursday, 27 January 2022 at 18:10:32 UTC+2 Tim Donohue wrote:
>
> Hi Lewatle,
>
> By searching that Yarn error on Google, I came across this suggestion from 
> StackOverflow: https://stackoverflow.com/a/51508426  It notes that in 
> some cases, Yarn may be timing out when downloading a larger package. You 
> can get around it by using the "--network-timeout" flag.
>
> So, you could try instead using something like this:
>
> yarn install --network-timeout 10
>
> Let us know if that works or helps. If so, we could add that as a hint in 
> the Installation Guide for others who may encounter this same issue in the 
> future.
>
> Tim
> --
> *From:* dspac...@googlegroups.com  on behalf 
> of Lewatle Johannes Phaladi 
> *Sent:* Thursday, January 27, 2022 7:46 AM
> *To:* DSpace Technical Support 
> *Subject:* [dspace-tech] Yarn install failing 
>  
> Dear DSpace colleagues, 
>
> I am installing frontend and when running $yarn install I an getting 
> error, but the server is on work network that has no issues, please see the 
> following screenshot:
>
> Regards,
> Lewatle 
>
> -- 
> 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 the Google Groups 
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to dspace-tech...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/dspace-tech/2b2bdd1e-8a50-4240-af9a-1df358ba8e0an%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/dspace-tech/2b2bdd1e-8a50-4240-af9a-1df358ba8e0an%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> -- 
> 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 the Google Groups 
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to dspace-tech...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/dspace-tech/945f8d4f-4cb0-4ebb-a186-7f559e9f5dfan%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/dspace-tech/945f8d4f-4cb0-4ebb-a186-7f559e9f5dfan%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/b3659c82-5b29-4fdf-92cb-b3892f3d460cn%40googlegroups.com.


Re: [dspace-tech] Yarn install failing

2022-01-31 Thread Mohammad S. AlMutairi
Hello,

It shouldn't be if the purge and the curl commands were executed 
successfully. Did you see any error when you executed them?

I see now how you installing the nodejs package. Version v10.19.0 is the 
default nodejs version if you used Ubuntu 20.04 default repository files. 
It's better to login with root this time.

# Set a password for the root user and use it to login.
1) sudo passwd root
2) su - root
3) apt purge nodejs -y
4) curl -sL https://deb.nodesource.com/setup_14.x | bash -
5)  apt install nodejs -y
6) node -v  # It should show v14.18.3
7) npm install -g yarn
8) yarn -v   # It should show version 1.22.17
9) npm install -g pm2
10) pm2 -v  # It should show version 5.1.2

Let us now in the list if you still need help.

Cheers
On Monday, January 31, 2022 at 11:55:40 AM UTC+3 joem...@gmail.com wrote:

> Dear DSpace Colleagues,
>
> Much appreciated for all in responding with very helpful information, I 
> have tried the steps to install node version 14.x but when I run $sudo apt 
> install nodejs ubuntu keeps on installing version 10.19.0, is there anyway 
> to only install version 14.x 
>
> Regards,
> Lewatle  
>
> On Friday, 28 January 2022 at 17:51:36 UTC+2 Tim Donohue wrote:
>
>> Hi Lewatle,
>>
>> That error message says you are running Node v10.19.0, but it's not 
>> supported.  The DSpace UI only currently supports Node v12 or v14. See 
>> https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-Node.js(v12.xorv14.x)
>>
>> So, you need to upgrade Node.
>>
>> Tim
>>
>>
>> --
>> *From:* dspac...@googlegroups.com  on behalf 
>> of Lewatle Johannes Phaladi 
>> *Sent:* Friday, January 28, 2022 12:56 AM
>>
>> *To:* DSpace Technical Support 
>> *Subject:* Re: [dspace-tech] Yarn install failing 
>>  
>> Hi Tim,  
>>
>> After running yarn install  --network-timeout 10
>>
>> I am getting module version error, I am installing dspace 7.1 on ubuntu 
>> 20.04  
>>
>> dspace@wiredspace-dev:~/install/dspace-angular$ yarn install 
>> --network-timeout 10
>> yarn install v1.22.17
>> [1/4] Resolving packages...
>> [2/4] Fetching packages...
>> error @angular-devkit/arch...@0.1200.5: The engine "node" is incompatible 
>> with   
>> 
>>this module. Expected version "^12.14.1 || >=14.0.0". Got 
>> "10.19.0"
>> error Found incompatible module.
>> info Visit https://yarnpkg.com/en/docs/cli/install for documentation 
>> about this 
>> 
>>  command.
>>
>>
>> Regards,
>> Lewatle
>> On Thursday, 27 January 2022 at 18:10:32 UTC+2 Tim Donohue wrote:
>>
>> Hi Lewatle,
>>
>> By searching that Yarn error on Google, I came across this suggestion 
>> from StackOverflow: https://stackoverflow.com/a/51508426  It notes that 
>> in some cases, Yarn may be timing out when downloading a larger package. 
>> You can get around it by using the "--network-timeout" flag.
>>
>> So, you could try instead using something like this:
>>
>> yarn install --network-timeout 10
>>
>> Let us know if that works or helps. If so, we could add that as a hint in 
>> the Installation Guide for others who may encounter this same issue in the 
>> future.
>>
>> Tim
>> --
>> *From:* dspac...@googlegroups.com  on behalf 
>> of Lewatle Johannes Phaladi 
>> *Sent:* Thursday, January 27, 2022 7:46 AM
>> *To:* DSpace Technical Support 
>> *Subject:* [dspace-tech] Yarn install failing 
>>  
>> Dear DSpace colleagues, 
>>
>> I am installing frontend and when running $yarn install I an getting 
>> error, but the server is on work network that has no issues, please see the 
>> following screenshot:
>>
>> Regards,
>> Lewatle 
>>
>> -- 
>> 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 the Google Groups 
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to dspace-tech...@googlegroups.com.
>> To view this discussion on 

Re: [dspace-tech] Yarn install failing

2022-02-03 Thread Lewatle Johannes Phaladi

Dear DSpace Colleagues,

Thank you all by giving working steps to get required version of nodejs, 
with your steps we have managed to install nodejs v14.19.0
I will now install frontend if I get any error I will log new problem for 
your help.

Thanks,
Lewatle 


On Monday, 31 January 2022 at 13:56:06 UTC+2 alo...@gmail.com wrote:

> Hello,
>
> It shouldn't be if the purge and the curl commands were executed 
> successfully. Did you see any error when you executed them?
>
> I see now how you installing the nodejs package. Version v10.19.0 is the 
> default nodejs version if you used Ubuntu 20.04 default repository files. 
> It's better to login with root this time.
>
> # Set a password for the root user and use it to login.
> 1) sudo passwd root
> 2) su - root
> 3) apt purge nodejs -y
> 4) curl -sL https://deb.nodesource.com/setup_14.x | bash -
> 5)  apt install nodejs -y
> 6) node -v  # It should show v14.18.3
> 7) npm install -g yarn
> 8) yarn -v   # It should show version 1.22.17
> 9) npm install -g pm2
> 10) pm2 -v  # It should show version 5.1.2
>
> Let us now in the list if you still need help.
>
> Cheers
> On Monday, January 31, 2022 at 11:55:40 AM UTC+3 joem...@gmail.com wrote:
>
>> Dear DSpace Colleagues,
>>
>> Much appreciated for all in responding with very helpful information, I 
>> have tried the steps to install node version 14.x but when I run $sudo apt 
>> install nodejs ubuntu keeps on installing version 10.19.0, is there anyway 
>> to only install version 14.x 
>>
>> Regards,
>> Lewatle  
>>
>> On Friday, 28 January 2022 at 17:51:36 UTC+2 Tim Donohue wrote:
>>
>>> Hi Lewatle,
>>>
>>> That error message says you are running Node v10.19.0, but it's not 
>>> supported.  The DSpace UI only currently supports Node v12 or v14. See 
>>> https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-Node.js(v12.xorv14.x)
>>>
>>> So, you need to upgrade Node.
>>>
>>> Tim
>>>
>>>
>>> --
>>> *From:* dspac...@googlegroups.com  on behalf 
>>> of Lewatle Johannes Phaladi 
>>> *Sent:* Friday, January 28, 2022 12:56 AM
>>>
>>> *To:* DSpace Technical Support 
>>> *Subject:* Re: [dspace-tech] Yarn install failing 
>>>  
>>> Hi Tim,  
>>>
>>> After running yarn install  --network-timeout 10
>>>
>>> I am getting module version error, I am installing dspace 7.1 on ubuntu 
>>> 20.04  
>>>
>>> dspace@wiredspace-dev:~/install/dspace-angular$ yarn install 
>>> --network-timeout 10
>>> yarn install v1.22.17
>>> [1/4] Resolving packages...
>>> [2/4] Fetching packages...
>>> error @angular-devkit/arch...@0.1200.5: The engine "node" is 
>>> incompatible with   
>>> 
>>>this module. Expected version "^12.14.1 || 
>>> >=14.0.0". Got "10.19.0"
>>> error Found incompatible module.
>>> info Visit https://yarnpkg.com/en/docs/cli/install for documentation 
>>> about this 
>>> 
>>>  command.
>>>
>>>
>>> Regards,
>>> Lewatle
>>> On Thursday, 27 January 2022 at 18:10:32 UTC+2 Tim Donohue wrote:
>>>
>>> Hi Lewatle,
>>>
>>> By searching that Yarn error on Google, I came across this suggestion 
>>> from StackOverflow: https://stackoverflow.com/a/51508426  It notes that 
>>> in some cases, Yarn may be timing out when downloading a larger package. 
>>> You can get around it by using the "--network-timeout" flag.
>>>
>>> So, you could try instead using something like this:
>>>
>>> yarn install --network-timeout 10
>>>
>>> Let us know if that works or helps. If so, we could add that as a hint 
>>> in the Installation Guide for others who may encounter this same issue in 
>>> the future.
>>>
>>> Tim
>>> --
>>> *From:* dspac...@googlegroups.com  on behalf 
>>> of Lewatle Johannes Phaladi 
>>> *Sent:* Thursday, January 27, 2022 7:46 AM
>>> *To:* DSpace Technical Support 
>>> *Subject:* [dspace-tech] Yarn install