-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Description
Reproduction
✗ Build failed in 973ms
[react-router] Server build file not found in manifest
at invariant (D:\cms\remix\node_modules@react-router\dev\dist\vite.js:81:11)
at getServerBuildFile (D:\cms\remix\node_modules@react-router\dev\dist\vite.js:2354:3)
at Object.handler (D:\cms\remix\node_modules@react-router\dev\dist\vite.js:3474:15)
at async Promise.all (index 0)
at PluginDriver.hookParallel (file:///D:/cms/remix/node_modules/rollup/dist/es/shared/node-entry.js:22261:9)
at file:///D:/cms/remix/node_modules/rollup/dist/es/shared/node-entry.js:23342:13
at catchUnfinishedHookActions (file:///D:/cms/remix/node_modules/rollup/dist/es/shared/node-entry.js:22705:16)
at buildEnvironment (file:///D:/cms/remix/node_modules/vite/dist/node/chunks/dep-DBxKXgDP.js:46212:16)
at buildEnvironment (D:\cms\remix\node_modules@react-router\dev\dist\cli\index.js:1874:5)
at async Promise.all (index 0) {
code: 'PLUGIN_ERROR',
plugin: 'react-router',
hook: 'writeBundle'
System Info
System:
OS: Windows 11 10.0.26100
CPU: (16) x64 AMD Ryzen 7 5800U with Radeon Graphics
Memory: 2.78 GB / 13.86 GB
Binaries:
Node: 22.13.0 - C:\Program Files\nodejs\node.EXE
npm: 11.1.0 - C:\Program Files\nodejs\npm.CMD
pnpm: 9.12.0 - ~\AppData\Local\pnpm\pnpm.EXE
bun: 1.1.45 - ~\.bun\bin\bun.EXE
Browsers:
Edge: Chromium (129.0.2792.79)
Internet Explorer: 11.0.26100.1882
npmPackages:
@react-router/dev: ^7.7.1 => 7.7.1
@react-router/node: ^7.7.1 => 7.7.1
@react-router/serve: ^7.7.1 => 7.7.1
react-router: ^7.7.1 => 7.7.1
vite: ^6.3.3 => 6.3.5Used Package Manager
npm
Expected Behavior
Build successful with Netlify plugin
Actual Behavior
[react-router] Server build file not found in manifest