-
-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
pending triagePending triagePending triage
Description
Describe the bug
when:
"pnpm": {
"overrides": {
"rolldown": "v1.0.0-beta.51",
"rolldown-vite": "7.0.12"
},
react-server build will fail with
[react-server] file:///testapp/node_modules/.pnpm/rolldown-vite@7.0.12_@types+node@24.10.1_esbuild@0.25.12_jiti@2.6.1_sass@1.94.1_terser@5.44.1_yaml@2.8.1/node_modules/rolldown-vite/dist/node/chunks/dep-DhQ4L5z7.js:22
import { aliasPlugin, buildImportAnalysisPlugin, dynamicImportVarsPlugin, importGlobPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, modulePreloadPolyfillPlugin, reporterPlugin, scan, transform, transformPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, webWorkerPostPlugin } from "rolldown/experimental";
^^^^^^^^^^^
SyntaxError: The requested module 'rolldown/experimental' does not provide an export named 'aliasPlugin'
at #asyncInstantiate (node:internal/modules/esm/module_job:302:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:405:5)
at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:654:26)
at async CAC.<anonymous> (file:///testapp/node_modules/.pnpm/@lazarv+react-server@file+..+tmp-react-server-fix-redirect+lazarv-react-server-0.0.0.tg_f2e7c2977da66d90782e264d8f67d58e/node_modules/@lazarv/react-server/bin/commands/build.mjs:32:15)
at async file:///testapp/node_modules/.pnpm/@lazarv+react-server@file+..+tmp-react-server-fix-redirect+lazarv-react-server-0.0.0.tg_f2e7c2977da66d90782e264d8f67d58e/node_modules/@lazarv/react-server/bin/cli.mjs:70:20
I know this is related to rolldown-vite pinned to latest version of 7.0.x releases and all the api changes starting with 7.1.x.
Starting about rolldown 1.0.0-beta.48 stable plugins are moved from rolldown/experimental to rolldown/plugins.
What are your plans to move to Vite 8.0?
testing:
"pnpm": {
"overrides": {
"rolldown": "latest",
"rolldown-vite": "7.2.10"
},
builds server code without errors but fails in next step with:
...
✓ built in 1.38s
react-server/0.0.0 building ssr for production
`optimizeDeps.rollupOptions` / `ssr.optimizeDeps.rollupOptions` is deprecated. Use `optimizeDeps.rolldownOptions` instead. Note that this option may be set by a plugin. Set VITE_DEPRECATION_TRACE=1 to see where it is called.
✓ 62 modules transformed.
✗ Build failed in 71ms
Build failed with 1 error:
[UNLOADABLE_DEPENDENCY] Error: Could not load @lazarv/react-server/file-router/manifest
╭─[ node_modules/.pnpm/@lazarv+react-server@file+..+tmp-react-server-fix-redirect+lazarv-react-server-0.0.0.tg_f2e7c2977da66d90782e264d8f67d58e/node_modules/@lazarv/react-server/lib/plugins/file-router/entrypoint.jsx:4:44 ]
│
4 │ import { middlewares, pages, routes } from "@lazarv/react-server/file-router/manifest";
│ ─────────────────────┬─────────────────────
│ ╰─────────────────────── No such file or directory (os error 2)
───╯
at aggregateBindingErrorsIntoJsError (file:///myapp/node_modules/.pnpm/rolldown@1.0.0-beta.53/node_modules/rolldown/dist/shared/bindingify-input-options-Bk0BBr2s.mjs:56:18)
at unwrapBindingResult (file:///myapp/node_modules/.pnpm/rolldown@1.0.0-beta.53/node_modules/rolldown/dist/shared/bindingify-input-options-Bk0BBr2s.mjs:31:128)
at #build (file:///myapp/node_modules/.pnpm/rolldown@1.0.0-beta.53/node_modules/rolldown/dist/shared/rolldown-build-BEU8N80I.mjs:2260:34)
at async buildEnvironment (file:///myapp/node_modules/.pnpm/rolldown-vite@7.2.10_@types+node@24.10.1_esbuild@0.25.12_jiti@2.6.1_sass@1.94.1_terser@5.44.1_yaml@2.8.1/node_modules/rolldown-vite/dist/node/chunks/node.js:32799:64)
at async Object.build (file:///myapp/node_modules/.pnpm/rolldown-vite@7.2.10_@types+node@24.10.1_esbuild@0.25.12_jiti@2.6.1_sass@1.94.1_terser@5.44.1_yaml@2.8.1/node_modules/rolldown-vite/dist/node/chunks/node.js:33202:19)
at async serverBuild (file:///myapp/node_modules/.pnpm/@lazarv+react-server@file+..+tmp-react-server-fix-redirect+lazarv-react-server-0.0.0.tg_f2e7c2977da66d90782e264d8f67d58e/node_modules/@lazarv/react-server/lib/build/server.mjs:526:5)
at async file:///myapp/node_modules/.pnpm/@lazarv+react-server@file+..+tmp-react-server-fix-redirect+lazarv-react-server-0.0.0.tg_f2e7c2977da66d90782e264d8f67d58e/node_modules/@lazarv/react-server/lib/build/action.mjs:61:39
ⅹ Build failed in 1.95s
Reproduction
No response
Steps to reproduce
No response
System Info
System:
OS: macOS 15.7.2
CPU: (12) arm64 Apple M4 Pro
Memory: 582.86 MB / 48.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 25.2.1 - /opt/homebrew/bin/node
npm: 11.6.2 - /opt/homebrew/bin/npm
pnpm: 10.24.0 - /opt/homebrew/bin/pnpm
Browsers:
Chrome: 142.0.7444.177
npmPackages:
@lazarv/react-server: file:/Users/ah/SVN-Checkouts/TST/tmp-react-server-fix-redirect/lazarv-react-server-0.0.0.tgz => 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
pending triagePending triagePending triage