[GH-ISSUE #4531] [Bug]: ERR_MODULE_NOT_FOUND after Actual Server repository move #43589

Closed
opened 2026-04-26 04:10:51 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @skykasko on GitHub (Mar 4, 2025).
Original GitHub issue: https://github.com/actualbudget/actual/issues/4531

Verified issue does not already exist?

  • I have searched and found no existing issue

What happened?

I followed the steps at https://actualbudget.org/docs/actual-server-repo-move/ for migrating from the actual-server repository to the Actual repository when using a local installation. When I ran yarn start:server I got the error message Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'convict' from <parent-directory>/actual/packages/sync-server/src/load-config.js.

I was able to fix this by running yarn install, so everything is working for me now, but the instructions in the page I linked above and in https://actualbudget.org/docs/install/local/ do not say to run yarn install. Perhaps the yarn workspaces focus @actual-app/sync-server --production command is not actually installing all the necessary dependencies? Apologies if this is somehow just an error on my end, but I thought I'd submit a bug report in case anyone else has the same issue.

How can we reproduce the issue?

I'm using Node.js version 22.11.0 and yarn version 1.22.22. I precisely followed the steps in https://actualbudget.org/docs/actual-server-repo-move/ as mentioned above.

Where are you hosting Actual?

Locally via Yarn

What browsers are you seeing the problem on?

No response

Operating System

Linux

Originally created by @skykasko on GitHub (Mar 4, 2025). Original GitHub issue: https://github.com/actualbudget/actual/issues/4531 ### Verified issue does not already exist? - [x] I have searched and found no existing issue ### What happened? I followed the steps at https://actualbudget.org/docs/actual-server-repo-move/ for migrating from the actual-server repository to the Actual repository when using a local installation. When I ran `yarn start:server` I got the error message `Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'convict' from <parent-directory>/actual/packages/sync-server/src/load-config.js`. I was able to fix this by running `yarn install`, so everything is working for me now, but the instructions in the page I linked above and in https://actualbudget.org/docs/install/local/ do not say to run `yarn install`. Perhaps the `yarn workspaces focus @actual-app/sync-server --production` command is not actually installing all the necessary dependencies? Apologies if this is somehow just an error on my end, but I thought I'd submit a bug report in case anyone else has the same issue. ### How can we reproduce the issue? I'm using Node.js version 22.11.0 and yarn version 1.22.22. I precisely followed the steps in https://actualbudget.org/docs/actual-server-repo-move/ as mentioned above. ### Where are you hosting Actual? Locally via Yarn ### What browsers are you seeing the problem on? _No response_ ### Operating System Linux
GiteaMirror added the bug label 2026-04-26 04:10:51 -05:00
Author
Owner

@matt-fidd commented on GitHub (Mar 4, 2025):

Thanks for reporting this

@lelemm we need to move convict to the prod deps

<!-- gh-comment-id:2698143465 --> @matt-fidd commented on GitHub (Mar 4, 2025): Thanks for reporting this @lelemm we need to move `convict` to the prod deps
Author
Owner

@lelemm commented on GitHub (Mar 4, 2025):

Creating a PR for this

<!-- gh-comment-id:2698305567 --> @lelemm commented on GitHub (Mar 4, 2025): Creating a PR for this
Author
Owner

@youngcw commented on GitHub (Mar 4, 2025):

fixed by #4534

<!-- gh-comment-id:2698517658 --> @youngcw commented on GitHub (Mar 4, 2025): fixed by #4534
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#43589