Skip to content

chore: resolve @tosu/server that contains rosu-pp-js to fix build - #739

Open
fcasibu wants to merge 1 commit into
tosuapp:masterfrom
fcasibu:chore/resolve-rosu-pp-js
Open

fcasibu wants to merge 1 commit into
tosuapp:masterfrom
fcasibu:chore/resolve-rosu-pp-js

Conversation

@fcasibu

@fcasibu fcasibu commented Nov 18, 2026 •

Copy link
Copy Markdown
  1. Problem: After setting up the project with install and ran the dev server, it shows an issue with the rolldown build with the following:
  [cause]: Cannot find module 'rosu-pp-js'
Require stack:
- /home/nevz/Documents/repo/tosu/packages/tosu/rolldown.config.mjs

Node version: v24.20.0
OS: Linux archlinux 7.2.9-zen1-1-zen x86_64 GNU/Linux

  1. Solution: The current code import.meta.url points to packages/tosu which doesn't really contain the rosu-pp-js dependency, and from what I found it is only installed in packages/server. I could've installed the dependency in packages/tosu as well but I felt that wasn't necessary to add in packages/tosu so I just made use of @tosu/server which already has it.

  2. Affected Files: packages/tosu/rolldown.config.mjs

  3. Verification: Dev server started properly.

  4. AI Declaration: None was used

@KotRikD

KotRikD commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

What node version have you used? And pnpm one

@fcasibu

fcasibu commented Nov 18, 2026

Copy link
Copy Markdown
Author

What node version have you used? And pnpm one

Node version: v24.20.0
PNPM version: 10.10.0

@KotRikD

KotRikD commented Nov 18, 2026

Copy link
Copy Markdown
Member

interesting, I will look later

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants