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


On Fri, Sep 4, 2020 at 1:40 PM Jose Blanco <[email protected]> wrote:

> 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
>
>
>

-- 
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/CAK%3DKc-uKj_rsbgeEgYNMLeDq%2BUA0LqqNiE-82k%2Bek8iEHcgjHA%40mail.gmail.com.

Reply via email to