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

web-nodejs bower build failures due to bower resolutions for jquery #9

Open
jr00n opened this issue Apr 17, 2019 · 1 comment
Open

Comments

@jr00n
Copy link

jr00n commented Apr 17, 2019

This happens with OCP 3.11

bower patternfly-bootstrap-combobox#~1.1.7                extract archive.tar.gz
--
  | bower patternfly-bootstrap-combobox#~1.1.7               resolved https://github.com/patternfly/patternfly-bootstrap-combobox.git#1.1.7
  | Please note that,
  | angular-route#1.5.10 depends on angular#1.5.10 which resolved to angular#1.5.10
  | angular-patternfly#3.17.0 depends on angular#1.3.0 - 1.5.* which resolved to angular#1.5.10
  | angular-bootstrap#0.14.3 depends on angular#>=1.3.0 which resolved to angular#1.5.10
  | angular-animate#1.5.11, angular-sanitize#1.5.11 depends on angular#1.5.11 which resolved to angular#1.5.11
  | Resort to using angular#1.5.10 which resolved to angular#1.5.10
  | Code incompatibilities may occur.
  | bower jquery                                           resolution Unsuitable resolution declared for jquery: 3.3.1
  | bower                                                   ECONFLICT Unable to find suitable version for jquery
  | npm ERR! code ELIFECYCLE
  | npm ERR! errno 1
  | npm ERR! web@1.0.0 postinstall: `bower --config.registry.search=${BOWER_MIRROR} install`
  | npm ERR! Exit status 1
  | npm ERR!
  | npm ERR! Failed at the web@1.0.0 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-04-17T14_50_18_852Z-debug.log

it is solved by changing bower.json to jquery 3.4.0

from

"resolutions": {
        "angular": "1.5.10",
        "jquery": "3.3.1",
        "bootstrap": "~3.3.7"
    }
}

to

"resolutions": {
        "angular": "1.5.10",
        "jquery": "3.4.0",
        "bootstrap": "~3.3.7"
    }
}
@jr00n jr00n closed this as completed May 21, 2019
mcouliba pushed a commit that referenced this issue Jun 13, 2019
Incorrect asset handler config missing *
@ryanj
Copy link
Member

ryanj commented Sep 6, 2019

Currently fixed in the ocp-3.11 branch: 37ae96e

PR available against master if needed (feel free to delete if not): #13

@ryanj ryanj reopened this Sep 6, 2019
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

No branches or pull requests

2 participants