Updating npm from private git repository on BitBucket

I have a node module hosted on Bitbucket. I contacted him like this:

"dependencies": {
    "my_module": "git+https://<TEAM-API-KEY>:x-oauth-basic@bitbucket.org/team_name/repo_name.git"
}

      

This works great for the initial one npm install

, but npm update

does not pull the last commit on the master branch. Basically, updating npm does nothing regardless of changes in the repo. According to this thread on the npm github page, this issue has been fixed and closed.

I tried adding # commit-ish information to the url and it still won't update with either the explicit commit I link or the latest commit in I link.

I tried updating the version number of the module and npm update

it still ignores it.

I am using npm v2.5.1. What am I doing wrong?

+3


source to share





All Articles