Unable to install via npm
Closed this issue · 2 comments
C:\Users\Ketan.Parekh\Downloads\python-ring-doorbell-master\python-ring-doorbell-master\node_modules\doorbot>npm i doorbot
npm ERR! Windows_NT 10.0.16299
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "i" "doorbot"
npm ERR! node v6.11.0
npm ERR! npm v3.10.10
npm ERR! code ENOSELF
npm ERR! Refusing to install doorbot 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:\Users\Ketan.Parekh\Downloads\python-ring-doorbell-master\python-ring-doorbell-master\node_modules\doorbot\npm-debug.log
npm-debug.log
I even tried changing the 'name' to doorbots in the package.json but to no vail.
Fixed it - requires the -g argument. Not sure why.
C:\Users\Ketan.Parekh\Downloads\python-ring-doorbell-master\python-ring-doorbell-master\node_modules\doorbot>npm install -g doorbot
C:\Users\Ketan.Parekh\AppData\Roaming\npm
-- doorbot@5.0.1
-- debug@2.6.9
`-- ms@2.0.0