Hi Sorin and Tim,
I have tried to rebuild one of my instances yesterday and I am getting the same error.
mvn -U clean package -Dmirage2.on=true -Dmirage2.deps.included=false
My output where the error occurs looks like this:
[INFO] ------ (Mirage2) org.codehaus.mojo:exec-maven-plugin:1.4.0:exec
npm WARN deprecated bo...@1.7.9: ...psst! Your project can stop working at any moment because its dependencies can change. Prevent this by migrating to Yarn:
https://bower.io/blog/2017/how-to-migrate-away-from-bower/> Mir...@0.1.2 postinstall /home/dspace/dspace-src-fgu66/dspace/modules/xmlui-mirage2/target/themes/Mirage2
> bower install
bower jquery-ui#1.10.3 EINVRES Request to
https://bower.herokuapp.com/packages/jquery-ui failed with 502
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! Mir...@0.1.2 postinstall: `bower install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the Mir...@0.1.2 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/dspace/.npm/_logs/2018-08-07T09_02_12_274Z-debug.log
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] DSpace Parent Project .............................. SUCCESS [ 0.987 s]
[INFO] DSpace Services Framework :: API and Implementation SUCCESS [ 5.304 s]
[INFO] DSpace Kernel :: API and Implementation ............ SUCCESS [ 23.414 s]
[INFO] DSpace Addon Modules ............................... SUCCESS [ 0.005 s]
[INFO] DSpace Kernel :: Additions and Local Customizations SUCCESS [ 7.259 s]
[INFO] DSpace XML-UI (Manakin) ............................ SUCCESS [ 12.140 s]
[INFO] DSpace XML-UI Mirage2 Theme ........................ SUCCESS [ 0.416 s]
[INFO] DSpace XML-UI Mirage2 Theme :: Local Customisations FAILURE [ 31.754 s]
[INFO] DSpace XML-UI (Manakin) :: Local Customizations .... SKIPPED
[INFO] DSpace JSP-UI ...................................... SKIPPED
[INFO] DSpace JSP-UI :: Local Customizations .............. SKIPPED
[INFO] DSpace RDF ......................................... SKIPPED
[INFO] DSpace RDF :: Local Customizations ................. SKIPPED
[INFO] DSpace REST :: API and Implementation .............. SKIPPED
[INFO] DSpace REST :: Local Customizations ................ SKIPPED
[INFO] DSpace SWORD ....................................... SKIPPED
[INFO] DSpace SWORD :: Local Customizations ............... SKIPPED
[INFO] DSpace SWORD v2 .................................... SKIPPED
[INFO] DSpace SWORD v2 :: Local Customizations ............ SKIPPED
[INFO] Apache Solr Webapp ................................. SKIPPED
[INFO] DSpace SOLR :: Local Customizations ................ SKIPPED
[INFO] DSpace OAI-PMH ..................................... SKIPPED
[INFO] DSpace OAI-PMH :: Local Customizations ............. SKIPPED
[INFO] DSpace Assembly and Configuration .................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:22 min
[INFO] Finished at: 2018-08-07T11:02:12+02:00
[INFO] Final Memory: 77M/523M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.soebes.maven.plugins:iterator-maven-plugin:0.3:iterator (default) on project xmlui-mirage2: Command execution failed.: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
My debug log:
6601 silly lifecycle Mir...@0.1.2~postinstall: Args: [ '-c', 'bower install' ]
6602 silly lifecycle Mir...@0.1.2~postinstall: Returned: code: 1 signal: null
6603 info lifecycle Mir...@0.1.2~postinstall: Failed to exec postinstall script
6604 verbose stack Error: Mir...@0.1.2 postinstall: `bower install`
6604 verbose stack Exit status 1
6604 verbose stack at EventEmitter.<anonymous> (/home/dspace/.nvm/versions/node/v8.7.0/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:280:16)
6604 verbose stack at emitTwo (events.js:125:13)
6604 verbose stack at EventEmitter.emit (events.js:213:7)
6604 verbose stack at ChildProcess.<anonymous> (/home/dspace/.nvm/versions/node/v8.7.0/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
6604 verbose stack at emitTwo (events.js:125:13)
6604 verbose stack at ChildProcess.emit (events.js:213:7)
6604 verbose stack at maybeClose (internal/child_process.js:927:16)
6604 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
6605 verbose pkgid Mir...@0.1.2
6606 verbose cwd /home/dspace/dspace-src-fgu66/dspace/modules/xmlui-mirage2/target/themes/Mirage2
6607 verbose Linux 3.10.0-693.el7.x86_64
6608 verbose argv "/home/dspace/.nvm/versions/node/v8.7.0/bin/node" "/home/dspace/.nvm/versions/node/v8.7.0/bin/npm" "install"
6609 verbose node v8.7.0
6610 verbose npm v5.4.2
6611 error code ELIFECYCLE
6612 error errno 1
6613 error Mir...@0.1.2 postinstall: `bower install`
6613 error Exit status 1
6614 error Failed at the Mir...@0.1.2 postinstall script.
It looks like that
https://bower.herokuapp.com/packages/jquery-ui is depricated. The new registry address is
https://registry.bower.io .
When I go to
https://bower.io/, I get the message that the Bower is maintained.
Regards,
Enes