Mirage2 installation issue

198 views
Skip to first unread message

Jose Blanco

unread,
Sep 4, 2020, 1:40:31 PM9/4/20
to DSpace Technical Support
I'm trying to get Margin2 installed in dev and check it out, but I'm getting this error:

[INFO]   Compass::SpriteImporter

[INFO]   /deepblue/dspace/build/dspace-6.3-src-release/dspace/dspace/modules/xmlui-mirage2/target/themes/Mirage2/styles

[INFO]   /deepblue/dspace/build/dspace-6.3-src-release/dspace/dspace/modules/xmlui-mirage2/target/rubygems/gems/compass-core-1.0.3/stylesheets)

[INFO] Compilation failed in 1 files.

[WARNING] 

[INFO] 

[ERROR] PluginManagerException:

org.apache.maven.plugin.PluginExecutionException: Execution null of goal de.saumya.mojo:gem-maven-plugin:1.0.6:exec failed: Java returned: 1


I found this on the list server ( along with many other questions about this ):


https://groups.google.com/g/dspace-tech/c/x-m6DjNqx1A/m/S-tDF6TZAwAJ



which basically recommends this:


1. Make sure that you have the latest Bower version 1.8.4 installed on your machine (npm install -g bower). Also, install other Mirage 2 components  https://github.com/DSpace/DSpace/tree/dspace-6_x/dspace-xmlui-mirage2 .
2. Change Bower version in package.json to 1.8.4 (dspace-xmlui-mirage2\src\main\webapp).
3. Build again.


Does anyone know if this is the definite solution.  I was trying to get by with only maven and git, but it seems like I can't.   I thought if I ran:


mvn package -Dmirage2.on=true


I did not have to make any further installations.


Thank you!

-Jose


Jose Blanco

unread,
Sep 14, 2020, 9:02:14 PM9/14/20
to DSpace Technical Support
To be more specific, this was the error I was getting:
130 error path ../semver/bin/semver
131 error code ENOTSUP
132 error errno -95
133 error syscall symlink
134 error nospc ENOTSUP: operation not supported on socket, symlink '../semver/bin/semver' -> '/install_dir/dspace-6.3-src-release/dspace/dspace/modules/xmlui-mirage2/target/themes/Mirage2/node_modules/bin-version-check/node_modules/.b
in/semver'
135 error nospc There appears to be insufficient space on your system to finish.
135 error nospc Clear up some disk space and try again.
136 verbose exit [ -95, true ]
This was happening when doing "npm install"
Looking around for symlink and ENOTSUP errors in npm, I found this:  
https://stackoverflow.com/questions/34221524/eproto-protocol-error-symlink-semver-bin-semver-when-using-ember-new
Suggesting I use "npm install --no-bin-links". I changed:
dspace/modules/xmlui-mirage2/pom.xml in two places replacing "npm install"
-                                                    <argument>install</argument>
+ <argument>install --no-bin-links</argument>
This fixed the issue.
-Jose
Reply all
Reply to author
Forward
0 new messages