agnat / node_wake_on_lan

Wake-on-LAN utilities for node.js
MIT License
222 stars 24 forks source link

npm install wake_on_lan --save Error I am getting #9

Closed StarfighterJ closed 6 years ago

StarfighterJ commented 6 years ago

Reason I ask was seeing 2-3 days old, but this is what I get doing npm install wake_on_lan --save. Also not sure if this is part of it but the .gitignore file did not down load. I am trying to get a good wake on lan program to turn on my LGTV. C:\Users\TEST\Downloads\node_wake_on_lan-master (1)\node_wake_on_lan-master>npm install wake_on_lan --save npm ERR! code ENOSELF npm ERR! Refusing to install package with name "wake_on_lan" under a package npm ERR! also called "wake_on_lan". Did you name your project the same npm ERR! as the dependency you're installing? npm ERR! npm ERR! For more information, see: npm ERR! https://docs.npmjs.com/cli/install#limitations-of-npms-install-algorithm

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\TEST\AppData\Roaming\npm-cache_logs\2018-05-23T18_12_55_122Z-debug.log

agnat commented 6 years ago

[...] but this is what I get doing npm install wake_on_lan --save.

Please read the error message before opening an issue:

npm ERR! Refusing to install package with name "wake_on_lan" under a package
npm ERR! also called "wake_on_lan". Did you name your project the same
npm ERR! as the dependency you're installing?
npm ERR!
npm ERR! For more information, see:
npm ERR! https://docs.npmjs.com/cli/install#limitations-of-npms-install-algorithm

Also, read a tutorial or beginner's guide to npm.

[...] the .gitignore file did not down load

Believe me, it's there: See hidden files

Hope this helps.