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

error starting server.js #6

Open
michaelpalumbo opened this issue Mar 10, 2020 · 4 comments
Open

error starting server.js #6

michaelpalumbo opened this issue Mar 10, 2020 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@michaelpalumbo
Copy link
Collaborator

Hi @MissCrispenCakes running server.js in a branch from boilerplate yields:

node server.js
internal/fs/utils.js:220
    throw err;
    ^

Error: ENOENT: no such file or directory, open 'server-key.pem'
    at Object.openSync (fs.js:440:3)
    at Object.readFileSync (fs.js:342:35)
    at Object.<anonymous> (/Users/mp/manifolds/server.js:12:11)
    at Module._compile (internal/modules/cjs/loader.js:959:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
    at Module.load (internal/modules/cjs/loader.js:815:32)
    at Function.Module._load (internal/modules/cjs/loader.js:727:14)
    at Function.Module.runMain (internal/modules/cjs/loader.js:1047:10)
    at internal/main/run_main_module.js:17:11 {
  errno: -2,
  syscall: 'open',
  code: 'ENOENT',
  path: 'server-key.pem'
}
@michaelpalumbo michaelpalumbo added the bug Something isn't working label Mar 10, 2020
@michaelpalumbo michaelpalumbo self-assigned this Mar 10, 2020
@michaelpalumbo
Copy link
Collaborator Author

hmm, makes sense not to commit the security creds, haha, but having not worked with this before how should I generate my own keys?

@MissCrispenCakes
Copy link
Member

yes - I mentioned that you need the keys and that I would set it up at york when I came to the lab today

S

@MissCrispenCakes
Copy link
Member

@michaelpalumbo are you in between 1430h-1630h ? I'll be in then to test it and I'm bringing the keys with me to install locally. Do we have a local shared folder or should I use Pac-Man ?

@michaelpalumbo
Copy link
Collaborator Author

@MissCrispenCakes would a dropbox folder work? I can't be there at that time today. how about Thursday anytime between 9-11am?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants