Open tibmeister opened 8 years ago
I can not reproduce the problem. When I start with your command line I get the following output:
> openHAB-HomeKit-Bridge@1.3.2 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?
Running the code
npm start -- --name "Test" --server 127.0.0.1:8090 --sitemap homekit
results innpm 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.