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

Can't get it to run #57

Open
Feargh opened this issue Jun 6, 2024 · 0 comments
Open

Can't get it to run #57

Feargh opened this issue Jun 6, 2024 · 0 comments

Comments

@Feargh
Copy link

Feargh commented Jun 6, 2024

When following the instructions to set up the project I can't get it to run with npm start

It gives this error message:

> [email protected] start
> npx tsc && node build/index.js

node:internal/fs/utils:350
    throw err;
    ^

Error: ENOENT: no such file or directory, open '/Users/fearghal/Documents/Github/FAC-quiz-code-review/-quiz-gghlo/build/localhost-key.pem'
    at Object.openSync (node:fs:603:3)
    at Object.readFileSync (node:fs:471:35)
    at Object.<anonymous> (/Users/fearghal/Documents/Github/FAC-quiz-code-review/-quiz-gghlo/build/index.js:33:13)
    at Module._compile (node:internal/modules/cjs/loader:1256:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
    at Module.load (node:internal/modules/cjs/loader:1119:32)
    at Module._load (node:internal/modules/cjs/loader:960:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12)
    at node:internal/main/run_main_module:23:47 {
  errno: -2,
  syscall: 'open',
  code: 'ENOENT',
  path: '/Users/fearghal/Documents/Github/FAC-quiz-code-review/-quiz-gghlo/build/localhost-key.pem'
}

Node.js v18.18.2
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

1 participant