I've been trying to install a package that I have defined the package.json for. The package.json file is very simple.
{
"name": "project",
"version": "0.0.1",
"devDependencies": {
"karma-jasmine": "0.2.2"
}
}
Now when I issue a
npm install .
I get the following error.
npm WARN package.json package.json@0.0.0 No repository field.
npm ERR! addLocal Could not install /Users/username/projects/project
npm ERR! Darwin 14.0.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "."
npm ERR! node v0.10.32
npm ERR! npm v2.1.5
npm ERR! code EISDIR
npm ERR! errno 28
npm ERR! EISDIR, read
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! /Users/username/projects/project/npm-debug.log
Unable to understand what am I doing wrong.