2016-03-31 24 views
0
~ npm install mongoose 
npm ERR! Darwin 15.4.0 
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "mongoose" 
npm ERR! node v5.9.1 
npm ERR! npm v3.7.3 
npm ERR! code ENOSELF 

npm ERR! Refusing to install mongoose as a dependency of itself 
npm ERR! 
npm ERR! If you need help, you may report this error at: 
npm ERR!  <https://github.com 

dies zuvor gestellt wurde, aber die Antwort nicht funktioniert, wenn npm unter Verwendung der folgenden deinstallieren Mungo auftritt:npm weigert Mungo zu installieren

~ npm uninstall mongoose 
npm WARN [email protected] requires a peer of [email protected]* but none was installed. 

so deinstallieren versagt

+0

tun Sie haben Paket.json? Was enthält es? – JeffRSon

Antwort

0

passieren Sie können einen Versuch auf diese Weise machen, das Hinzufügen "mongoose":"*" in ‚package.json‘ Datei dann Code in cmd

~npm insatll 
Verwandte Themen