I knew about this solution and it did not work for me.
I decided to install ruby+node system packages and compiled dspace like
that:

sudo -H -u dspace bash -c 'export GEM_HOME=/var/lib/gems/2.5.0 && export
GEM_PATH=/var/lib/gems/2.5.0 && export NVM_DIR="$HOME/.nvm" && source
"$NVM_DIR/nvm.sh" && cd /tmp/dspace-src && mvn -e clean package
-Dmirage2.on=true -Dmirage2.deps.included=false'

Not beautiful but it works :D

On 2/19/19 1:44 PM, Manuela Ferreira wrote:
> We had the same error in DSpace 5.8.
> 
> We applied the solution described at
> https://github.com/DSpace/DSpace/pull/2316/files, we changed the version
> of the dependencies in dspace/modules/xmlui-mirage2/pom.xml and added
> -Dmirage2.deps.included = true in the mvn parameters.
> 
> 
> --- pom.xml 
> +++ pom.xml    (working copy)
> @@ -23,10 +23,11 @@
>         
> <grunt.color.scheme>classic_mirage_color_scheme</grunt.color.scheme>
>          <mirage2.deps.included>true</mirage2.deps.included>
>          <!-- Versions of build dependencies to be auto-installed when
> "mirage2.deps.included=true" -->
> -        <sass.version>3.3.14</sass.version>
> +        <sass.version>3.4.25</sass.version>
>          <compass.version>1.0.1</compass.version>
> -        <node.version>0.10.31</node.version>
> -        <npm.version>1.4.23</npm.version>
> +        <node.version>6.5.0</node.version>
> +        <npm.version>3.10.8</npm.version>
> +    <jruby.version>9.1.17.0</jruby.version>
>      </properties>
> 
> 
> mvn -Pxpdf-mediafilter-support package -Dmirage2.on=true
> -Dmirage2.deps.included=true
>  
> Manuela Klanovicz Ferreira
> 
> -- 
> 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 post to this group, send email to [email protected]
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.

-- 
Stefan Kombrink
Universität Ulm
Kommunikations- und Informationszentrum (kiz)
Abteilung Informationsmedien
+49-731-50-31482

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to