Skip to content

Error: ENOENT: no such file or directory, open '/etc/letsencrypt/live/infinitezero.net/privkey.pem' #26

@Lord-Funion

Description

@Lord-Funion

Describe your issue

When i run pnpm build it does this:

[email protected] build /workspaces/InfiniteZero
tsc

@Lord-Funion ➜ /workspaces/InfiniteZero (master) $ pnpm start

[email protected] start /workspaces/InfiniteZero
node dist

[無限零服器] ВКЛЮЧАЕМ СЕРВЕР Infinite Zero...
[無限零服器] ИСПОЛЬЗУЕМ CORS
[無限零服器] ИСПОЛЬЗУЕМ RATE LIMITER
[無限零服器] ДОБАВЛЯЕМ СТРАНИЦУ /index.html...
[無限零服器] ДОБАВИЛИ СТРАНИЦУ /index.html.
[無限零服器] ДОБАВЛЯЕМ СТРАНИЦУ /style.css...
[無限零服器] ДОБАВИЛИ СТРАНИЦУ /style.css.
[無限零服器] ДОБАВЛЯЕМ КАРТИНКУ /favicon...
[無限零服器] ДОБАВИЛИ КАРТИНКУ /favicon.
[無限零服器] ДОБАВЛЯЕМ ФАЙЛ /analytics.json...
[無限零服器] ДОБАВИЛИ ФАЙЛ /analytics.json.
[無限零服器] ДОБАВЛЯЕМ ФАЙЛ /uniques...
[無限零服器] ДОБАВИЛИ ФАЙЛ /uniques.
[無限零服器] ДОБАВЛЯЕМ ФАЙЛ /version...
[無限零服器] ДОБАВИЛИ ФАЙЛ /version.
[無限零服器] ДОБАВЛЯЕМ ФАЙЛ /eval/version...
[無限零服器] ДОБАВИЛИ ФАЙЛ /eval/version.
[無限零服器] ДОБАВЛЯЕМ КОД /eval*...
[無限零服器] ДОБАВИЛИ КОД /eval*.
[無限零服器] ДОБАВЛЯЕМ ДОМЕН /...
[無限零服器] ДОБАВИЛИ ДОМЕН /
.
[無限零服器] ИСПОЛЬЗУЕМ HTTPS.
node:fs:581
return binding.open(
^

Error: ENOENT: no such file or directory, open '/etc/letsencrypt/live/infinitezero.net/privkey.pem'
at Object.openSync (node:fs:581:18)
at Module.readFileSync (node:fs:457:35)
at StartServer (file:///workspaces/InfiniteZero/dist/server.js:99:21)
at file:///workspaces/InfiniteZero/dist/index.js:2:1
at ModuleJob.run (node:internal/modules/esm/module_job:218:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:329:24)
at async loadESM (node:internal/process/esm_loader:28:7)
at async handleMainPromise (node:internal/modules/run_main:113:12) {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/etc/letsencrypt/live/infinitezero.net/privkey.pem'
}

Node.js v20.11.1
 ELIFECYCLE  Command failed with exit code 1.

Date of submittion

3/16/24

Before submitting an issue

  • This wasn't already submitted.
    (I have checked every issue on GitHub)

  • I agree to this repository's prerequisites.
    (I have read and agree to the License, Code of Conduct, and Contributing Guidelines)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions