versatica / tryit-jssip

New tryit-jssip application

Home Page:https://tryit.jssip.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

npm install fails

juha-h opened this issue · comments

I tried to follow the installation instructions, but 'npm install' failed. Did I do make some stupid mistake (I don't know much about npm)? I was not able to find ibc/react-notification-system from github.
-- Juha

h@rautu:/usr/src/orig/tryit-jssip$ npm install
|nter passphrase for key '/home/jh/.ssh/id_rsa': -
npm ERR! git clone git@github.com:github:ibc/react-notification-system Cloning into bare repository '/home/jh/.npm/_git-remotes/git-github-com-github-ibc-react-notification-system-e9024493'...
npm ERR! git clone git@github.com:github:ibc/react-notification-system fatal: remote error:
npm ERR! git clone git@github.com:github:ibc/react-notification-system is not a valid repository name
npm ERR! git clone git@github.com:github:ibc/react-notification-system Email support@github.com for help

Which node and npm versions?

I tried this on Debian testing (Stretch):

jh@rautu:/var/www/tryit-jssip$ nodejs -v
v4.7.2
jh@rautu:/var/www/tryit-jssip$ npm -v
1.4.21

Such a npm version is to old. I recommend upgrading to Node 6 (the current stable):

https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions

Anyhow, Node 4 comes with NPM 2, so I don't fully understand how you have NPM 1.4.21.

AFAIK Debian does not yet come with a "pro" version of Node & NPM.

After installing latest Node.js from the link above, both npm commands listed in README.md worked, but the second needed to be run as root user. Perhaps it would be a good idea to change prefix of the second npm command from $ to #.

Depending on your NPM settings, you may have global NPM modules installed into your home (rather than in /usr/...), so root/sudo is not required.