npm run build
> build
> vite build
runtime: failed to create new OS thread (have 14 already; errno=11)
runtime: may need to increase max user processes (ulimit -u)
fatal error: newosproc
runtime: failed to create new OS thread (have 14 already; errno=11)
runtime: may need to increase max user processes (ulimit -u)
fatal error: newosproc
runtime stack:
runtime.throw({0x95da32?, 0xc000611e18?})
runtime/panic.go:1047 +0x5d fp=0xc000611df0 sp=0xc000611dc0 pc=0x4356dd
runtime.newosproc(0xc000680000)
runtime/os_linux.go:195 +0x176 fp=0xc000611e58 sp=0xc000611df0 pc=0x431f56
runtime.newm1(0xc000680000)
runtime/proc.go:2253 +0xcf fp=0xc000611e98 sp=0xc000611e58 pc=0x43c00f
runtime.newm(0x54e22451a6b140?, 0xc00004ef00, 0x0?)
runtime/proc.go:2228 +0x12c fp=0xc000611ec8 sp=0xc000611e98 pc=0x43becc
runtime.startm(0xc00004ef00, 0x1)
runtime/proc.go:2411 +0xf3 fp=0xc000611f18 sp=0xc000611ec8 pc=0x43c473
runtime.wakep()
runtime/proc.go:2541 +0xf6 fp=0xc000611f48 sp=0xc000611f18 pc=0x43ca56
runtime.resetspinning()
runtime/proc.go:3244 +0x49 fp=0xc000611f68 sp=0xc000611f48 pc=0x43e589
runtime.schedule()
runtime/proc.go:3366 +0xd1 fp=0xc000611fa0 sp=0xc000611f68 pc=0x43e971
runtime.mstart1()
runtime/proc.go:1505 +0xcd fp=0xc000611fc8 sp=0xc000611fa0 pc=0x43ad2d
runtime.mstart0()
runtime/proc.go:1455 +0x7a fp=0xc000611ff8 sp=0xc000611fc8 pc=0x43ac3a
runtime.mstart()
runtime/asm_amd64.s:394 +0x5 fp=0xc000612000 sp=0xc000611ff8 pc=0x467725
goroutine 1 [syscall]:
syscall.Syscall(0x4af425?, 0xc00019dca0?, 0x800000?, 0x7ffff800000?)
syscall/syscall_linux.go:69 +0x27 fp=0xc00019dbe8 sp=0xc00019db78 pc=0x49b147
syscall.read(0xc000126060?, {0xc00019dda8?, 0x10?, 0xc00019dca8?})
syscall/zsyscall_linux_amd64.go:711 +0x45 fp=0xc00019dc28 sp=0xc00019dbe8 pc=0x4998a5
syscall.Read(...)
syscall/syscall_unix.go:178
internal/poll.ignoringEINTRIO(...)
internal/poll/fd_unix.go:794
internal/poll.(*FD).Read(0xc000126060?, {0xc00019dda8?, 0x4000?, 0x4000?})
internal/poll/fd_unix.go:163 +0x2ce fp=0xc00019dcc0 sp=0xc00019dc28 pc=0x4b050e
os.(*File).read(...)
os/file_posix.go:31
os.(*File).Read(0xc000012010, {0xc00019dda8?, 0xb?, 0x0?})
os/file.go:118 +0x5e fp=0xc00019dd18 sp=0xc00019dcc0 pc=0x4b4cde
main.runService(0x1)
github.com/evanw/esbuild/cmd/esbuild/service.go:134 +0x38f fp=0xc0001a1e38 sp=0xc00019dd18 pc=0x8939af
main.main()
github.com/evanw/esbuild/cmd/esbuild/main.go:236 +0xa29 fp=0xc0001a1f80 sp=0xc0001a1e38 pc=0x892009
runtime.main()
runtime/proc.go:250 +0x207 fp=0xc0001a1fe0 sp=0xc0001a1f80 pc=0x437fc7
runtime.goexit()
runtime/asm_amd64.s:1598 +0x1 fp=0xc0001a1fe8 sp=0xc0001a1fe0 pc=0x4698a1
goroutine 2 [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
runtime/proc.go:381 +0xd6 fp=0xc000104fb0 sp=0xc000104f90 pc=0x4383f6
runtime.goparkunlock(...)
runtime/proc.go:387
runtime.forcegchelper()
runtime/proc.go:305 +0xb0 fp=0xc000104fe0 sp=0xc000104fb0 pc=0x438230
runtime.goexit()
runtime/asm_amd64.s:1598 +0x1 fp=0xc000104fe8 sp=0xc000104fe0 pc=0x4698a1
created by runtime.init.6
runtime/proc.go:293 +0x25
goroutine 3 [GC sweep wait]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
runtime/proc.go:381 +0xd6 fp=0xc000105780 sp=0xc000105760 pc=0x4383f6
runtime.goparkunlock(...)
runtime/proc.go:387
runtime.bgsweep(0x0?)
runtime/mgcsweep.go:278 +0x8e fp=0xc0001057c8 sp=0xc000105780 pc=0x42382e
runtime.gcenable.func1()
runtime/mgc.go:178 +0x26 fp=0xc0001057e0 sp=0xc0001057c8 pc=0x418b86
runtime.goexit()
runtime/asm_amd64.s:1598 +0x1 fp=0xc0001057e8 sp=0xc0001057e0 pc=0x4698a1
created by runtime.gcenable
runtime/mgc.go:178 +0x6b
goroutine 4 [GC scavenge wait]:
runtime.gopark(0xc000122000?, 0xa33268?, 0x1?, 0x0?, 0x0?)
runtime/proc.go:381 +0xd6 fp=0xc000105f70 sp=0xc000105f50 pc=0x4383f6
runtime.goparkunlock(...)
runtime/proc.go:387
runtime.(*scavengerState).park(0xcad500)
runtime/mgcscavenge.go:400 +0x53 fp=0xc000105fa0 sp=0xc000105f70 pc=0x421773
runtime.bgscavenge(0x0?)
runtime/mgcscavenge.go:628 +0x45 fp=0xc000105fc8 sp=0xc000105fa0 pc=0x421d45
runtime.gcenable.func2()
runtime/mgc.go:179 +0x26 fp=0xc000105fe0 sp=0xc000105fc8 pc=0x418b26
runtime.goexit()
runtime/asm_amd64.s:1598 +0x1 fp=0xc000105fe8 sp=0xc000105fe0 pc=0x4698a1
created by runtime.gcenable
runtime/mgc.go:179 +0xaa
goroutine 5 [finalizer wait]:
runtime.gopark(0x438772?, 0x438165?, 0x0?, 0x0?, 0xc000104770?)
runtime/proc.go:381 +0xd6 fp=0xc000104628 sp=0xc000104608 pc=0x4383f6
runtime.runfinq()
runtime/mfinal.go:193 +0x107 fp=0xc0001047e0 sp=0xc000104628 pc=0x417bc7
runtime.goexit()
runtime/asm_amd64.s:1598 +0x1 fp=0xc0001047e8 sp=0xc0001047e0 pc=0x4698a1
created by runtime.createfing
runtime/mfinal.go:163 +0x45
goroutine 6 [chan receive]:
runtime.gopark(0xc000478400?, 0x0?, 0x0?, 0x0?, 0x0?)
runtime/proc.go:381 +0xd6 fp=0xc0001066c8 sp=0xc0001066a8 pc=0x4383f6
runtime.chanrecv(0xc000036120, 0xc0001067b8, 0x1)
runtime/chan.go:583 +0x49d fp=0xc000106758 sp=0xc0001066c8 pc=0x4067bd
runtime.chanrecv2(0xc000012018?, 0xc000478400?)
runtime/chan.go:447 +0x18 fp=0xc000106780 sp=0xc000106758 pc=0x4062f8
main.runService.func1()
github.com/evanw/esbuild/cmd/esbuild/service.go:98 +0x4a fp=0xc0001067e0 sp=0xc000106780 pc=0x893e8a
runtime.goexit()
runtime/asm_amd64.s:1598 +0x1 fp=0xc0001067e8 sp=0xc0001067e0 pc=0x4698a1
created by main.runService
github.com/evanw/esbuild/cmd/esbuild/service.go:97 +0x1e5
goroutine 7 [sleep]:
runtime.gopark(0x54e2245020b7b6?, 0x0?, 0x0?, 0x0?, 0x0?)
runtime/proc.go:381 +0xd6 fp=0xc000106f60 sp=0xc000106f40 pc=0x4383f6
time.Sleep(0x3b9aca00)
runtime/time.go:195 +0x135 fp=0xc000106fa0 sp=0xc000106f60 pc=0x466855
main.runService.func3()
github.com/evanw/esbuild/cmd/esbuild/service.go:124 +0x45 fp=0xc000106fe0 sp=0xc000106fa0 pc=0x893d45
runtime.goexit()
runtime/asm_amd64.s:1598 +0x1 fp=0xc000106fe8 sp=0xc000106fe0 pc=0x4698a1
created by main.runService
github.com/evanw/esbuild/cmd/esbuild/service.go:122 +0x31c
goroutine 8 [semacquire]:
runtime.gopark(0xc0000fec00?, 0x0?, 0x60?, 0x23?, 0x0?)
runtime/proc.go:381 +0xd6 fp=0xc00039bcf0 sp=0xc00039bcd0 pc=0x4383f6
...
failed to load config from /home/vite.config.js
error during build:
Error: The service was stopped
at /home/node_modules/esbuild/lib/main.js:1073:25
at Object.responseCallbacks.<computed> (/home/node_modules/esbuild/lib/main.js:697:9)
at Socket.afterClose (/home/node_modules/esbuild/lib/main.js:687:28)
at Socket.emit (node:events:525:35)
at endReadableNT (node:internal/streams/readable:1358:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21)