OpenHAB-HomeKit-Bridge icon indicating copy to clipboard operation
OpenHAB-HomeKit-Bridge copied to clipboard

Startup Issues

Open tibmeister opened this issue 8 years ago • 1 comments

Running the code npm start -- --name "Test" --server 127.0.0.1:8090 --sitemap homekit results in npm ERR! Error: ENOENT, open '/home/xxx/Downloads/OpenHAB-HomeKit-Bridge/node_modules/--name/package.json'

I went into ./lib/openHABBridge.js and set the 'name' option to not be mandatory and have a default value and it works. I have zero experience with NodeJS but it looks close enough to Perl which I have some experience in that I was able to ascertain this much but as far as the npm start items I'm clueless.

tibmeister avatar Apr 14 '16 05:04 tibmeister

I can not reproduce the problem. When I start with your command line I get the following output:

> [email protected] start /Users/henning/Documents/hacking_dev/OpenHAB-HomeKit-Bridge
> node index.js start "--name" "Test" "--server" "127.0.0.1:8080" "--sitemap" "homekit"

Starting the bridge Test ...

What version of node & npm are you running?

htreu avatar Apr 17 '16 15:04 htreu