Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lab 5 - build failures due to bower resolution issues for bootstrap #5

Closed
jankleinert opened this issue Jan 10, 2019 · 1 comment · Fixed by #6
Closed

Lab 5 - build failures due to bower resolution issues for bootstrap #5

jankleinert opened this issue Jan 10, 2019 · 1 comment · Fixed by #6

Comments

@jankleinert
Copy link
Contributor

This error happens regardless of what version of openshift you're using.

Gives the following error:

Please note that,
bootstrap-switch#3.3.4 depends on jquery#~1.9.0 which resolved to jquery#1.9.1
patternfly#3.17.0 depends on jquery#~2.1.4 which resolved to jquery#2.1.4
datatables#1.10.19, datatables#1.10.19, datatables#1.10.19, datatables-colreorder#1.3.3, datatables-colvis#1.1.2 depends on jquery#>=1.7.0 which r
esolved to jquery#3.3.1
bootstrap-touchspin#3.1.2 depends on jquery#>=1.9.0 which resolved to jquery#3.3.1
patternfly-bootstrap-treeview#2.1.8 depends on jquery#>= 1.9.0 which resolved to jquery#3.3.1
bootstrap-select#1.10.0 depends on jquery#>=1.8 which resolved to jquery#3.3.1
eonasdan-bootstrap-datetimepicker#4.17.47 depends on jquery#>=1.8.3 which resolved to jquery#3.3.1
bootstrap-datepicker#1.6.4 depends on jquery#>=1.7.1 which resolved to jquery#3.3.1
bootstrap#3.3.7 depends on jquery#1.9.1 - 3 which resolved to jquery#3.3.1
Resort to using jquery#3.3.1 which resolved to jquery#3.3.1
Code incompatibilities may occur.

bower                                                   ECONFLICT Unable to find suitable version for bootstrap
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `bower --config.registry.search=${BOWER_MIRROR} install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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!     /opt/app-root/src/.npm/_logs/2019-01-10T18_07_17_370Z-debug.log
error: build error: non-zero (13) exit code from docker-registry.default.svc:5000/openshift/nodejs@sha256:1a42ca9592ea96f1d9b6042cab05191e68ba7759
e98b25334bd6af04cd028b35

Using --force-latest with bower install makes the build complete, but the angular app doesn't render and has an error in the console.

Looking into it.

@jankleinert
Copy link
Contributor Author

The same issue was reported in the jbossdemocentral/coolstore-microservice repo and here's a fix: jbossdemocentral/coolstore-microservice#120. Confirmed that it works. I'll submit a PR in this repo shortly.

mcouliba pushed a commit that referenced this issue Jun 13, 2019
Rollback inventory-thorntail modifications
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant