VOID 001
11/02/2025, 4:05 PMmain branch will fail when building the daft-dashboard?
./src/app/queries/page.tsx
Error evaluating Node.js code
ResolveMessage: Cannot find module './node_modules/babel-plugin-react-compiler' from '/home/projects/daft/src/daft-dashboard/frontend/node_modules/next/dist/compiled/babel/bundle.js'
Make sure that all the Babel plugins and presets you are using
are defined as dependencies or devDependencies in your package.json
Caused by: [50/1641]
process didn't exit successfully: `/home/projects/daft/target/debug/build/daft-dashboard-65c660a79cd99970/build-script-build` (exit status: 1)
--- stdout
cargo:rustc-env=DASHBOARD_ASSETS_DIR=/home/projects/daft/target/debug/build/daft-dashboard-18cbc4a68d544994/out
cargo:rerun-if-changed=frontend/src/
cargo:rerun-if-changed=frontend/bun.lockb
cargo:rerun-if-changed=build.rs
bun install v1.3.1 (89fa0f34)
Checked 428 installs across 490 packages (no changes) [13.00ms]
▲ Next.js 16.0.1 (Turbopack)
Creating an optimized production build ...
cargo:warning=Failed to build frontend assets
--- stderr
Saved lockfile
$ next build --no-mangling
⚠ Mangling is disabled. Note: This may affect performance and should only be used for debugging purposes.
> Build error occurred
Error: Turbopack build failed with 3 errors:
./src/app/layout.tsx
Error evaluating Node.js code
ResolveMessage: Cannot find module './node_modules/babel-plugin-react-compiler' from '/home/projects/daft/src/daft-dashboard/frontend/node_modules/next/dist/compiled/babel/bundle.js'
Make sure that all the Babel plugins and presets you are using
are defined as dependencies or devDependencies in your package.json
file. It's possible that the missing plugin is loaded by a preset
you are using that forgot to add the plugin to its dependencies: you
can workaround this problem by explicitly adding the missing package
to your top-level package.json.
Import traces:
Client Component Browser:
./src/app/layout.tsx [Client Component Browser]
./src/app/layout.tsx [Server Component]
Client Component SSR:
./src/app/layout.tsx [Client Component SSR]
./src/app/layout.tsx [Server Component]
./src/app/queries/page.tsx
Error evaluating Node.js code
ResolveMessage: Cannot find module './node_modules/babel-plugin-react-compiler' from '/home/projects/daft/src/daft-dashboard/frontend/node_modules/next/dist/compiled/babel/bundle.js'VOID 001
11/03/2025, 5:26 AMVOID 001
11/04/2025, 2:45 AMEverett Kleven
11/04/2025, 7:27 PMSrinivas Lade
11/07/2025, 6:45 PMpackage.json that we use Bun, so I'm surprised that Node.js worked. How are you installing dependencies?VOID 001
11/08/2025, 6:30 AMbm trust . After that trigger the build again. I got the error above