-
-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
I throw an error in a function which is imported into a server function from an other file.
This problem does not exist for errors thrown directly inside the server component!
Expected at allTodos (file:///examples/todo/src/actions.ts:43:13) received at allTodos (file:///examples/todo/src/actions.ts:33:9)
Test error from allTodos
6:26:52 PM [react-server] [stack]: Error: Test error from allTodos
6:26:52 PM [react-server] at allTodos (file:///examples/todo/src/actions.ts:33:9)
6:26:52 PM [react-server] at Index (file:///examples/todo/src/index.tsx:18:50)
6:26:52 PM [react-server] at resolveErrorDev (/node_modules/.pnpm/react-server-dom-webpack@0.0.0-experimental-ead92181-20251010_react-dom@0.0.0-experimen_69770d6597d61840773bd1aea1d0fff4/node_modules/react-server-dom-webpack/cjs/react-server-dom-webpack-client.edge.development.js:3230:30)
6:26:52 PM [react-server] at processFullBinaryRow (/node_modules/.pnpm/react-server-dom-webpack@0.0.0-experimental-ead92181-20251010_react-dom@0.0.0-experimen_69770d6597d61840773bd1aea1d0fff4/node_modules/react-server-dom-webpack/cjs/react-server-dom-webpack-client.edge.development.js:4367:27)
6:26:52 PM [react-server] at progress (/node_modules/.pnpm/react-server-dom-webpack@0.0.0-experimental-ead92181-20251010_react-dom@0.0.0-experimen_69770d6597d61840773bd1aea1d0fff4/node_modules/react-server-dom-webpack/cjs/react-server-dom-webpack-client.edge.development.js:4681:17)
Reproduction
No response
Steps to reproduce
- add
throw new Error("Test error from allTodos");in the fileexamples/todo/src/actions.tsafter Lin 42. - start application with
pnpm devand open browser
System Info
System:
OS: macOS 15.7.1
CPU: (12) arm64 Apple M4 Pro
Memory: 318.22 MB / 48.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 25.2.0 - /opt/homebrew/bin/node
npm: 11.6.2 - /opt/homebrew/bin/npm
pnpm: 10.20.0 - /opt/homebrew/bin/pnpm
Browsers:
Chrome: 142.0.7444.162
npmPackages:
@lazarv/react-server: workspace:^ => 0.0.0Used Package Manager
pnpm
Logs
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion.
- The provided reproduction is a minimal reproducible example of the bug.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working