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 [email protected] 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 [email protected] 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:* [email protected] <[email protected]> on behalf >>> of Lewatle Johannes Phaladi <[email protected]> >>> *Sent:* Friday, January 28, 2022 12:56 AM >>> >>> *To:* DSpace Technical Support <[email protected]> >>> *Subject:* Re: [dspace-tech] Yarn install failing >>> >>> Hi Tim, >>> >>> After running yarn install --network-timeout 100000 >>> >>> 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 100000 >>> yarn install v1.22.17 >>> [1/4] Resolving packages... >>> [2/4] Fetching packages... >>> error @angular-devkit/[email protected]: 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 100000 >>> >>> 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:* [email protected] <[email protected]> on behalf >>> of Lewatle Johannes Phaladi <[email protected]> >>> *Sent:* Thursday, January 27, 2022 7:46 AM >>> *To:* DSpace Technical Support <[email protected]> >>> *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 [email protected]. >>> 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 [email protected]. >>> 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/26a9e558-56f4-42f6-8c22-615cf71020edn%40googlegroups.com.
