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

How to use bower artifactory? #21

Open
nishantkagrawal opened this issue Dec 6, 2017 · 1 comment
Open

How to use bower artifactory? #21

nishantkagrawal opened this issue Dec 6, 2017 · 1 comment

Comments

@nishantkagrawal
Copy link

nishantkagrawal commented Dec 6, 2017

I am currently using the following properties in .bowerrc file. We are using a JFrog artifactory to host our private bower components

registry": {
        "search": [
            "http://domain-api.mycompany.com/artifactory/api/bower/default.bower.global",
            "http://bower.int.xyz.com",
            "https://bower.herokuapp.com"
        ]
    },
    "resolvers": [
        "bower-art-resolver"
    ],

When I ran bower-away it produced something like this

"@bower_components/my-package": "art://my-package/my-package#1.0.0",

My .npmrc file has

registry = "http://domain-api.mycompany.com/artifactory/api/npm/default.npm.global"

When I run yarn, I get

error An unexpected error occurred: "http://domain-api.mycompany.com/artifactory/api/npm/default.npm.global/@bower_components%2my-package: not_found".

How to deal with this?

@sheerun
Copy link
Owner

sheerun commented Dec 6, 2017

I don't think there's plugin for it in Yarn

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