bahamas10 / hue-cli

A command line interface to phillips hue
http://bahamas10.github.com/hue-cli/
221 stars 24 forks source link

`npm install` fails #12

Closed dopeghoti closed 7 years ago

dopeghoti commented 8 years ago

When I try to install this per the readme with npm install hue-cli, it fails after fetching the dependencies with the following output:

npm WARN enoent ENOENT: no such file or directory, open '/home/myuser/package.json'
npm WARN ghoti No description
npm WARN ghoti No repository field.
npm WARN ghoti No README data
npm WARN ghoti No license field.
TwizzyDizzy commented 7 years ago

I think this is rather a npm misconfiguration from my perspective. Why would npm search for a package.json in your home directory?

Could you please list the (redacted) directory of your home directory as well as the actual commands you enter? And of course: what node and npm version are you running?

In general, I think, this has nothing to do with hue-cli.

Cheers Thomas

dopeghoti commented 7 years ago

Hello,

I have since upgraded my host to Ubuntu 16.04 LTS; this includes a newer version of node and npm; the error no longer occurs.