Marc J. Schmidt Marc J. Schmidt - 11 months ago 152
Git Question

npm install git repository without package.json

I have a project that depends on several third-party libs.

My package.json looks like:

"dependencies": {
"vendor-name": "git://",

This works as long as the
repository contains a

If there's not such a file, I get:

npm ERR! path /var/folders/0l/temp-folder/package.json
npm ERR! code ENOENT

Actually, a
npm install git://
does not work, too.

So my question is:
Is there a way to install (include) git repositories (in the
) that do not have a

Answer Source

Yes you can with this package: