codetheweb / muse

🎧 a self-hosted midwestern Discord music bot that doesn't suck

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot find module '/usr/app/dist/utils/constants' error for Docker image 2.8.0

sonroyaalmerol opened this issue · comments

What's happening?
add-query-to-queue.ts on version 2.8.0 returns a module not found error when running the Docker image due to enforcing ES modules. Will submit a PR for a quick fix.

Logs

Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/usr/app/dist/utils/constants' imported from /usr/app/dist/services/add-query-to-queue.js

Runtime
I'm running Muse:

  • Directly from the cloned repository
  • Inside a Docker container
  • Something else (please elaborate)

Versions

  • Muse: 2.8.0

🚀 Released in Release v2.8.1.