Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Startup Issues #48

Open
tibmeister opened this issue Apr 14, 2016 · 1 comment
Open

Startup Issues #48

tibmeister opened this issue Apr 14, 2016 · 1 comment

Comments

@tibmeister
Copy link

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.

@htreu
Copy link
Owner

htreu commented Apr 17, 2016

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants