Skip to content

Missing dependency error ('logform') when running Jellyseerr single executable built with nexe #1109

@mreid-tt

Description

@mreid-tt

What happened:
After building the Jellyseerr package from source as per the provided instructions, I used nexe to create a single executable. The build completed successfully; however, when running the executable, I encountered an error indicating a missing module dependency for logform used by winston.

What you expected to happen:
The single executable should work the same as running the built Node.js code manually (with pnpm start), without any missing dependencies.

How to reproduce it (as minimally and precisely as possible):

  1. Build the Jellyseerr package from source using the instructions linked here.
  2. Navigate to the jellyseerr directory and run the following command:
nexe dist/index.js --build --verbose
  1. Run the resulting executable. The following error is returned:
Error: Cannot find module 'logform'

Anything else we need to know?:
Attached is the complete build log (jellyseerr_build.log), which includes the detailed output from the execution.
jellyseerr_build.log
Reference: SynoCommunity/spksrc#6294 (comment)

Environment:

  • Platform(OS/Version): Ubuntu 24.04.1 LTS
  • Host Node Version: 20.18.0
  • Target Node Version: 20.18.0
  • Nexe version: 4.0.0-rc.6
  • Python Version: 3.12.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions