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

Docker環境上でコンパイルしたビルドが動作しない #722

Closed
2 tasks done
m1sk9 opened this issue Feb 8, 2023 · 0 comments · Fixed by #725
Closed
2 tasks done

Docker環境上でコンパイルしたビルドが動作しない #722

m1sk9 opened this issue Feb 8, 2023 · 0 comments · Fixed by #725
Assignees
Labels
C-bug Category: bug P-high Priority: High

Comments

@m1sk9
Copy link
Contributor

m1sk9 commented Feb 8, 2023

バグレポートの提出を行う前に

  • すでに同じバグを報告するIssueが存在しないか確認しましたか?
  • セキュリティーに関する不具合ではありませんか? セキュリティーに関する不具合はIssueで報告せず適切な方法で報告してください

バグの詳細

コンパイルしたものを起動しようとすると失敗する

node:internal/errors:490
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@discordjs/voice' imported from /app/build/index.js
    at new NodeError (node:internal/errors:399:5)
    at packageResolve (node:internal/modules/esm/resolve:889:9)
    at moduleResolve (node:internal/modules/esm/resolve:938:20)
    at defaultResolve (node:internal/modules/esm/resolve:1153:11)
    at nextResolve (node:internal/modules/esm/loader:163:28)
    at ESMLoader.resolve (node:internal/modules/esm/loader:838:30)
    at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:77:40)
    at link (node:internal/modules/esm/module_job:76:36) {
  code: 'ERR_MODULE_NOT_FOUND'
}

Node.js v18.14.0

再現方法

  1. Docker コンテナ内でビルド
  2. 起動する

期待する動作

正常に起動する

はらちょのバージョン

v1.36.2

追加情報

No response

@m1sk9 m1sk9 added C-bug Category: bug P-high Priority: High labels Feb 8, 2023
@m1sk9 m1sk9 changed the title Docker / ローカルでコンパイルしたビルドが動作しない Docker環境上でコンパイルしたビルドが動作しない Feb 8, 2023
@MikuroXina MikuroXina self-assigned this Feb 9, 2023
MikuroXina added a commit that referenced this issue Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug P-high Priority: High
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants