-
Notifications
You must be signed in to change notification settings - Fork 30.2k
Description
Link to the code that reproduces this issue
https://github.com/example/sorry
To Reproduce
build
output standalone
Current vs. Expected behavior
I found that the main problem is the name of the file has a ":" symbol, Result fs copy method failed
The follow
name is not correct in Windows
"D:\a\d\dist\server\chunks[externals]node:async_hooks_b485b2a4..js'"
error info:
⚠ Failed to copy traced files for D:\a\d\dist\server\app\api\chat\route.js Error: EINVAL: invalid argument, copyfile 'D:\a\d\dist\server\chunks[externals]node:async_hooks_b485b2a4..js' -> 'D:\a\d\dist\standalone\dist\server\chunks[externals]node:async_hooks_b485b2a4..js'
at ignore-listed frames {
errno: -4071,
code: 'EINVAL',
syscall: 'copyfile',
path: 'D:\a\d\dist\server\chunks\[externals]node:async_hooks_b485b2a4..js',
dest: 'D:\a\d\dist\standalone\dist\server\chunks\[externals]node:async_hooks_b485b2a4..js'
}
Provide environment information
windowsWhich area(s) are affected? (Select all that apply)
Output
Which stage(s) are affected? (Select all that apply)
next build (local)
Additional context
No response