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

Missing in docs? cert file needed #7

Open
FredrikKarlssonSpeech opened this issue Jan 8, 2018 · 2 comments
Open

Missing in docs? cert file needed #7

FredrikKarlssonSpeech opened this issue Jan 8, 2018 · 2 comments

Comments

@FredrikKarlssonSpeech
Copy link

I believe that the documentation will have to be extended with information regarding the cert files needed. Where do they go and how do get/generate them?

$ npm install

> [email protected] install /Users/frkkan96/Documents/GitHub/IPS-EMUprot-nodeWSserver/node_modules/dtrace-provider
> node scripts/install.js


> [email protected] install /Users/frkkan96/Documents/GitHub/IPS-EMUprot-nodeWSserver/node_modules/ldapjs/node_modules/dtrace-provider
> node scripts/install.js


> [email protected] install /Users/frkkan96/Documents/GitHub/IPS-EMUprot-nodeWSserver/node_modules/sqlite3
> node-pre-gyp install --fallback-to-build

[sqlite3] Success: "/Users/frkkan96/Documents/GitHub/IPS-EMUprot-nodeWSserver/node_modules/sqlite3/lib/binding/node-v59-darwin-x64/node_sqlite3.node" is installed via remote
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN IPS-EMUprot-nodeWSserver No description
npm WARN IPS-EMUprot-nodeWSserver No repository field.
npm WARN IPS-EMUprot-nodeWSserver No license field.

added 184 packages in 31.295s
MacBook-Air:IPS-EMUprot-nodeWSserver frkkan96$ node IPS-EMUprot-nodeWSserver.js server_config.json | node_modules/bunyan/bin/bunyan
[2018-01-08T08:10:47.214Z]  INFO: nodeEmuWS/9968 on MacBook-Air.local: starting server...
fs.js:663
  return binding.open(pathModule.toNamespacedPath(path),
                 ^

Error: ENOENT: no such file or directory, open 'certs/noPwdServer.key'
    at Object.fs.openSync (fs.js:663:18)
    at Object.fs.readFileSync (fs.js:568:33)
    at /Users/frkkan96/Documents/GitHub/IPS-EMUprot-nodeWSserver/IPS-EMUprot-nodeWSserver.js:230:12
    at Object.<anonymous> (/Users/frkkan96/Documents/GitHub/IPS-EMUprot-nodeWSserver/IPS-EMUprot-nodeWSserver.js:1378:2)
    at Module._compile (module.js:660:30)
    at Object.Module._extensions..js (module.js:671:10)
    at Module.load (module.js:573:32)
    at tryModuleLoad (module.js:513:12)
    at Function.Module._load (module.js:505:3)
    at Function.Module.runMain (module.js:701:10)
@raphywink
Copy link
Contributor

This: https://github.com/IPS-LMU/IPS-EMUprot-nodeWSserver/blob/master/IPS-EMUprot-nodeWSserver.js#L1 should probably be moved to the README.md file.

On a side note: Sorry that I have not been replying to any of your issues btw. This is my first day back at the office after my xmas break. I'll try to get around to addressing your issues/pull requests over the next couple of days (can't promise anything as we have quite a few deadlines in January but I'll try my best)...

@FredrikKarlssonSpeech
Copy link
Author

No worries. I set myself the task of learning the system. And since this is not a bad way of being able to provide an outside view of things and be the human tester, I will continue asking questions + providing suggested fixes. Finding potential issues takes less time than repairing them (or providing an answer) so please don't feel stressed by my activities.

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