Ich habe versucht, ein Paket zu installieren, das ich die package.json für. Die Datei package.json ist sehr einfach. JetztIch kann mein Paket nicht installieren
{
"name": "project",
"version": "0.0.1",
"devDependencies": {
"karma-jasmine": "0.2.2"
}
}
als ich ausgeben ein
npm install .
ich folgende Fehlermeldung erhalten.
npm WARN package.json [email protected] 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
Unfähig zu verstehen, was ich falsch mache.
Dies ist ein guter Tipp für diesen Workflow, aber sobald Ihre Datei weg ist und Sie npm installieren, ist die Fehlermeldung so kryptisch, dass ich denke, die Lösung erwähnen, dass Sie die Datei fehlt oder falsch geschrieben ist wertvoller. – toomasr
die Crew um npm sind sehr reaktionsschnell - ich empfehle dringend, dass ich ihnen ein Problem auf ihrer https://github.com/npm/npm, so dass wir alle von ihrer/unsere Lösung (hoffentlich) –
Danke, fertig. Weitere Informationen finden Sie unter https://github.com/npm/npm/issues/6590. – toomasr