Npm install --production fails

I am trying to upgrade from 8.16 to 8.17. When I run the npm command mentioned in the docs, it fails with these errors:

root@wise-dev:/home/git/gitlab# sudo -u git -H npm install --production
npm ERR! git clone git@github.com:github:jquery/jquery-ui Cloning into bare repository '/home/git/.npm/_git-remotes/git-github-com-github-jquery-jquery-ui-e4b725ae'...
npm ERR! git clone git@github.com:github:jquery/jquery-ui Permission denied (publickey).
npm ERR! git clone git@github.com:github:jquery/jquery-ui fatal: Could not read from remote repository.
npm ERR! git clone git@github.com:github:jquery/jquery-ui 
npm ERR! git clone git@github.com:github:jquery/jquery-ui Please make sure you have the correct access rights
npm ERR! git clone git@github.com:github:jquery/jquery-ui and the repository exists.
npm ERR! notarget No compatible version found: jquery-ui@'github:jquery/jquery-ui#1.11.4'
npm ERR! notarget Valid install targets:
npm ERR! notarget ["1.10.4","1.10.5","1.12.0-beta.1","1.12.0-rc.1","1.12.0-rc.2","1.12.0","1.12.1"]
npm ERR! notarget 
npm ERR! notarget This is most likely not a problem with npm itself.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! System Linux 4.7.0-1-amd64
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "--production"
npm ERR! cwd /home/git/gitlab
npm ERR! node -v v4.8.2
npm ERR! npm -v 1.4.21
npm ERR! code ETARGET
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/git/gitlab/npm-debug.log
npm ERR! not ok code 0

What could be wrong?

Seems like NPM didn’t found jQuery-UI 1.11.4. You should try updating package.json and set jquery-ui version to 1.10.4.