Hi Bill, I had the same problem. Take a look at last message in this thread:
https://groups.google.com/g/dspace-tech/c/7_fUBxsxkhs I have not tried the patch yet. What I did is, since I had a successful Mirage2 build from a previous build in the webapp directory, copy it to dspace-xmlui/src/main/webapp/themes/Mirage2 And then build it using: > mvn clean package >From now on, if I need to make any changes to Mirage2, I will do it from: dspace-xmlui/src/main/webapp/themes/Mirage2 That got me over the issue. -Jose On Thu, May 12, 2022 at 9:56 AM 'Bill Tantzen' via DSpace Technical Support <[email protected]> wrote: > I am recently required to rebuild my v5.10 instance with mirage2, and I'm > encountering the same problems as many others here since torquebox.org is > out of action. > > Does anybody have any tips? > > One major problem is that I cannot install rvm as root -- can I use rbenv > as an alternative? Following the instructions in the mirage2 readme (and > the url below), here is what I have done: > > https://github.com/DSpace/DSpace/tree/dspace-5_x/dspace-xmlui-mirage2 > > curl https://raw.githubusercontent.com/creationix/nvm/v0.5.1/install.sh | > sh > nvm install 0.10.31 > nvm alias default 0.10.31 > npm install -g bower > npm install -g grunt && npm install -g grunt-cli > > now, I break away and use rbenv instead of rvm… > > git clone https://github.com/rbenv/rbenv.git ~/.rbenv > mkdir -p "$(rbenv root)"/plugins > git clone https://github.com/rbenv/ruby-build.git "$(rbenv > root)"/plugins/ruby-build > rbenv install 3.1.2 > rbenv global 3.1.2 > > The first error I am encountering is: > ... > ... > > [email protected] postinstall > /swadm/dspace/projects/bill/dspace/modules/xmlui-mirage2/target/themes/Main > > bower install > > [INFO] ------ (Main) org.codehaus.mojo:exec-maven-plugin:1.3.1:exec > > > /home/dspace/.nvm/v0.10.31/lib/node_modules/grunt/node_modules/grunt-cli/node_modules/liftup/node_modules/findup-sync/node_modules/micromatch/index.js:3 > const util = require('util'); > ^^^^^ > SyntaxError: Use of const in strict mode. > at Module._compile (module.js:439:25) > at Object.Module._extensions..js (module.js:474:10) > at Module.load (module.js:356:32) > at Function.Module._load (module.js:312:12) > at Module.require (module.js:364:17) > at require (module.js:380:17) > at Object.<anonymous> > (/home/dspace/.nvm/v0.10.31/lib/node_modules/grunt/node_modules/grunt-cli/node_modules/liftup/node_modules/findup-sync/index.js:12:10) > at Module._compile (module.js:456:26) > at Object.Module._extensions..js (module.js:474:10) > at Module.load (module.js:356:32) > ... > ... > > Any suggestions on the right cocktail of versions and software I need to > get this to build? > > Thanks all, > ~~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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/dspace-tech/CADgrb7E3YVEmw12XQxkdssj9VHeHJFQTc%2BDAnK_YCj9V7FXwpA%40mail.gmail.com > <https://groups.google.com/d/msgid/dspace-tech/CADgrb7E3YVEmw12XQxkdssj9VHeHJFQTc%2BDAnK_YCj9V7FXwpA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-u20yqqvv4CdEw1aFMNurwSTM3JAEgitb3K%3DTSfgE5Xqg%40mail.gmail.com.
