2016-03-14 4 views
21

C'è il seguente problema - ho installato tutti i moduli e sto cercando di fare file di NPM-shrinkwrap.json:npm shrinkwrap modulo estraneo

npm shrinkwrap 

Ma ho sempre ottenere il seguente errore:

npm ERR! Darwin 14.3.0 
npm ERR! argv "/usr/local/Cellar/node/4.1.2/bin/node" "/usr/local/bin/npm" "shrinkwrap" 
npm ERR! node v4.1.2 
npm ERR! npm v2.10.1 

npm ERR! Problems were encountered 
npm ERR! Please correct and try again. 
npm ERR! extraneous: [email protected] /Users/ulnda/projects/folder/node_modules/my-module/node_modules/webdriverio/node_modules/core-js 
npm ERR! extraneous: [email protected] /Users/ulnda/projects/folder/node_modules/core-js 
npm ERR! 
npm ERR! If you need help, you may report this error at: 
npm ERR!  <https://github.com/npm/npm/issues> 

npm ERR! Please include the following file with any support request: 
npm ERR!  /Users/ulnda/projects/folder/npm-debug.log 

Che cosa significa? Come posso ripararlo? Grazie in anticipo!

risposta

38

Provare npm prune prima di termoretraibile.

+3

Inizialmente non ho funzionato, ho dovuto eliminare la cartella node_modules e reinstallare i servizi da zero, quindi è andato tutto bene. – batjko