I am trying to install the package for which I defined package.json . The package.json file is very simple.
{ "name": "project", "version": "0.0.1", "devDependencies": { "karma-jasmine": "0.2.2" } }
Now that I issue
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
It is impossible to understand what I am doing wrong.
toomasr
source share