Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bitbucket Server as private npm repository

Anthony Johnston
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 9, 2018

Hi

 

We are using Bitbucket Server

and have some typescript libraries we would like to reuse across other repositories

 

in the past using github we could reference the tag in the project.json - I've tried this and I get a 501

 

does any one know if this can be done?

if so how?

 

ta

2 answers

0 votes
Anthony Johnston
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 11, 2018

Hi Anton

 

Thanks for the reply, but I sorted it

it needs a specific format for the dependency in package.json e.g.

 

"dependencies":{

    "my-controls": "git+https://bitbucket.[our-domain]/scm/trac/my-controls.git#v1.1.0",

}

 

Thanks again, Ant

0 votes
Anton Shaleev
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 10, 2018

Hi antix

Could you please clarify if the error you're getting from Tomcat or from the reverse proxy?

 

Please provide the verbose output of npm command.

 

Regards

Anton

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events