2017-02-10 16 views
0

В моей Node.js папке проекта Twilio, я получаю эту ошибку при выполнении npm install twilioОтказавшись установить Twilio как зависимость сама по себе

c:\...\Twilio>npm install twilio 
npm ERR! Windows_NT 10.0.14393 
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "twilio" 
npm ERR! node v6.2.0 
npm ERR! npm v3.8.9 
npm ERR! code ENOSELF 

npm ERR! Refusing to install twilio as a dependency of itself 
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!  c:\...\Twilio\npm-debug.log 

Любая идея, где я неправильно?

ответ

1

Twilio разработчик евангелист здесь.

Вы назвали свой пакет, то есть поле имени в package.json, «twilio»?

Это regular cause такого рода вопросов. Просто переименуйте пакет, который не является его зависимостями.

+0

Thanks philnash! – Kedar