It seems as if my gcc is out-of-date.  Unfortunately I am not able to
upgrade the compiler on this centrally managed server, so I will simply
have to hope for the best!
~~Bill

On Mon, Jun 27, 2022 at 2:00 PM Tim Donohue <tim.dono...@lyrasis.org> wrote:

> Hi Bill,
>
> I've tried reproducing this on my end with 7.3 by running "yarn clean"
> (should remove everything from node_modules) and then a new "yarn
> install".  I cannot seem to reproduce this...a "yarn install" always
> succeeds for me with no errors.
>
> Maybe try that yourself (a yarn clean followed by a yarn install) and see
> if it happens again?  If so, we might need more details on your setup.  You
> also might want to check the messages just *above*​ the error
> message...just to see if there are any other hints as to what is going
> on...maybe a connection issue where something couldn't be downloaded?
>
> Overall, I'm not aware of this error. That said it is possible it is
> harmless (since everything else succeeds) as it's possible it's an optional
> dependency that is failing to install.
>
> Tim
> ------------------------------
> *From:* 'Bill Tantzen' via DSpace Technical Support <
> dspace-tech@googlegroups.com>
> *Sent:* Monday, June 27, 2022 1:36 PM
> *To:* DSpace Technical Support <dspace-tech@googlegroups.com>
> *Subject:* [dspace-tech] Error in frontend build
>
> When installing the dspace 7.3 frontend, install throws an error.  This is
> seemingly harmless so far??  It does not prevent 'yarn build:prod' from
> completing normally, and the frontend appears to function normally, but I'm
> naturally suspicious of (and curious about) the error.  Anybody else
> encounter this?
>
> At the very end of 'yarn install' I get the following error:
>
> make: Entering directory
> `/usr/local/projects/current/dspace-7.3/node_modules/nice-napi/build'
>   CC(target) Release/obj.target/nothing/../node-addon-api/nothing.o
>   AR(target) Release/obj.target/../node-addon-api/nothing.a
>   COPY Release/nothing.a
>   CXX(target) Release/obj.target/nice_napi/binding.o
> g++: error: unrecognized command line option ‘-std=gnu++14’
> make: *** [Release/obj.target/nice_napi/binding.o] Error 1
> make: Leaving directory
> `/usr/local/projects/current/dspace-7.3/node_modules/nice-napi/build'
> gyp ERR! build error
> gyp ERR! stack Error: `make` failed with exit code: 2
> gyp ERR! stack     at ChildProcess.onExit
> (/usr/local/node-v16.15.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
> gyp ERR! stack     at ChildProcess.emit (node:events:527:28)
> gyp ERR! stack     at Process.ChildProcess._handle.onexit
> (node:internal/child_process:291:12)
> gyp ERR! System Linux 3.10.0-1160.36.2.el7.x86_64
> gyp ERR! command \"/swadm/usr/local/node-v16.15.1-linux-x64/bin/node\"
> \"/swadm/usr/local/node-v16.15.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\"
> \"rebuild\"
> gyp ERR! cwd /usr/local/projects/current/dspace-7.3/node_modules/nice-napi
> Done in 107.21s.
>
> A subsequent call to 'yarn install' completes normally -- without actually
> doing anything.
>
> Thanks for your ideas!
> ~~Bill
>
> --
> Human wheels spin round and round
> While the clock keeps the pace... -- John Mellencamp
> ________________________________________________________________
> Bill Tantzen    University of Minnesota Libraries
> 612-626-9949 (U of M)    612-325-1777 (cell)
>
> --
> 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 dspace-tech+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/CADgrb7Guj53YiQTckmmh6exAg3p9AFJXpHWNtvr4yb2T4KW1Ag%40mail.gmail.com
> <https://groups.google.com/d/msgid/dspace-tech/CADgrb7Guj53YiQTckmmh6exAg3p9AFJXpHWNtvr4yb2T4KW1Ag%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Human wheels spin round and round
While the clock keeps the pace... -- John Mellencamp
________________________________________________________________
Bill Tantzen    University of Minnesota Libraries
612-626-9949 (U of M)    612-325-1777 (cell)

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CADgrb7FT-UzKZYCW3L5SS9a68R2LWFjsQjY3OLf1cNWFDcDm3g%40mail.gmail.com.

Reply via email to