S
S
Svyatoslav Khusamov2016-06-20 21:46:00
npm
Svyatoslav Khusamov, 2016-06-20 21:46:00

How to include a package from a repository in package.json for npm?

I include the package:

"dependencies": {"jquery-timer-plugin": "git://github.com/jbrooksuk/jQuery-Timer-Plugin"},

And on npm i command I get the error:
npm ERR! addLocal Could not install /tmp/npm-6320-f1652e63/git-cache-55847ecd/86f281fbc94d06bca233918b501ef999165c5f93
npm ERR! Linux 4.2.0-c9
npm ERR! argv "/home/ubuntu/.nvm/versions/node/v6.2.2/bin/node" "/home/ubuntu/.nvm/versions/node/v6.2.2/bin/npm" "i"
npm ERR! node v6.2.2
npm ERR! npm v3.10.1
npm ERR! code EISDIR
npm ERR! errno -21
npm ERR! syscall read

What could be the problem?
If due to the lack of a package file for this package, then how to connect without it?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question