Hello,

during Node installation there is a hint:

export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"

Use this in a script before the maven run. Or add it to your environment
in a different way.

I hope this helps and kind regards,

Paul Münch

Am 31.01.20 um 21:29 schrieb Yerodin P:
>
> Good Day all,
>
> Before I post for help with my problem, here are the system specifics
> on which I am running DSpace v6.3:
>
> - Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz, 2 cores, 4GB RAM
> - Ubuntu Server 18.04.2 LTS
> - PostgreSQL v10.10
> - OpenSSH_7.6
> - Tomcat7 in one instance and Tomcat8 in another. 
> - javac 1.8.0_242
> - openjdk version "1.8.0_242"
> OpenJDK Runtime Environment (build 1.8.0_242-8u242-b08-0ubuntu3~18.04-b08)
> OpenJDK 64-Bit Server VM (build 25.242-b08, mixed mode)
>
> - Apache Maven 3.6.0
> Maven home: /usr/share/maven
> Java version: 1.8.0_242, vendor: Private Build, runtime:
> /usr/lib/jvm/java-8-openjdk-amd64/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "4.15.0-76-generic", arch: "amd64", family:
> "unix"
>
>
> - Git version 2.17.1
> - $ rvm requirements
> Checking requirements for ubuntu.
> Requirements installation successful.
>
> - Compass successfully installed
> - Ruby-2.6.3 installed.
> - home/useraccount/.nvm/versions/node/v6.5.0/lib
> ├── [email protected]
> ├── [email protected]
> ├── [email protected]
>
> Please note:
> The standard Mirage XMLUI theme works fine for me. 
> I have been able as a DSpace Admin, to do such things as batch upload
> of files and execute search statistics.
>
>
> _MY DSPACE PROBLEM_
>
> I was able to successfully:
>
> - load the pre-requisites for Mirage2
> - edit [dspace-source]/dspace/config/xmlui.xconf  to uncomment the
> regular Mirage theme and add:
> <theme name="Mirage 2" regex=".*" path="Mirage2/" />
>
> - make adjustments to the file
> [dspace-source]/dspace-6.3-release/dspace/modules/xmlui-mirage2//pom.xml
> where I changed the version of the dependencies to reflect what was
> actually loaded.
>
> However, when I eventually ran:
> $ mvn -Dmirage2.on=true -Dmirage2.deps.included=false clean package
>
> Even though the directory
>
> /build/dspace-6.3-release/dspace/modules/xmlui-mirage2/target/themes/  
>
> ..does exist, I got the following error message and am temporarily
> stuck at this part of the Mirage2 installation:
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary for DSpace Parent Project 6.3:
> [INFO]
> [INFO] DSpace Parent Project .............................. SUCCESS [
> 29.677 s]
> [INFO] DSpace Addon Modules ............................... SUCCESS [ 
> 0.019 s]
> [INFO] DSpace Kernel :: Additions and Local Customizations  SUCCESS
> [01:42 min]
> [INFO] DSpace XML-UI Mirage2 Theme :: Local Customisations  FAILURE [
> 49.864 s]
> [INFO] DSpace XML-UI (Manakin) :: Local Customizations .... SKIPPED
> [INFO] DSpace JSP-UI :: Local Customizations .............. SKIPPED
> [INFO] DSpace RDF :: Local Customizations ................. SKIPPED
> [INFO] DSpace REST :: Local Customizations ................ SKIPPED
> [INFO] DSpace SWORD :: Local Customizations ............... SKIPPED
> [INFO] DSpace SWORD v2 :: Local Customizations ............ SKIPPED
> [INFO] DSpace SOLR :: Local Customizations ................ SKIPPED
> [INFO] DSpace OAI-PMH :: Local Customizations ............. SKIPPED
> [INFO] DSpace Assembly and Configuration .................. SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time:  03:02 min
> [INFO] Finished at: 2020-01-30T16:05:17-04:00
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> com.soebes.maven.plugins:iterator-maven-plugin:0.3:iterator (default)
> on project xmlui-mirage2: Command execution failed.: Cannot run
> program "npm" (in directory
> "/build/dspace-6.3-release/dspace/modules/xmlui-mirage2/target/themes/Mirage2"):
> error=2, No such file or directory -> [Help 1]
>
> Your suggestions on moving forward are welcome.
>
> Yerodin P
> DSpace newbie.
>
> -- 
> All messages to this mailing list should adhere to the DuraSpace Code
> of Conduct: https://duraspace.org/about/policies/code-of-conduct/
> ---
> 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]
> <mailto:[email protected]>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/feb2a656-28c6-4753-bc9f-0338ab7f7c73%40googlegroups.com
> <https://groups.google.com/d/msgid/dspace-tech/feb2a656-28c6-4753-bc9f-0338ab7f7c73%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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/b3ed16dc-4a21-9fe3-d7f6-4ce5a3b51b75%40staff.uni-marburg.de.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to