This is my first time trying to deploy a project on internet. My website is built using Nuxt 3. I’m trying to run npm run build
through ssh session, but it’s impossible.
I have tried changing ulimit
, still nothing.
runtime: failed to create new OS thread (have 12 already; errno=11)
runtime: may need to increase max user processes (ulimit -u)
fatal error: newosproc
runtime stack:
runtime.throw({0x9b1222?, 0xc000691e18?})
runtime/panic.go:1047 +0x5d fp=0xc000691df0 sp=0xc000691dc0 pc=0x4357dd
runtime.newosproc(0xc000708000)
runtime/os_linux.go:195 +0x176 fp=0xc000691e58 sp=0xc000691df0 pc=0x431fd6
runtime.newm1(0xc000708000)
runtime/proc.go:2254 +0xcf fp=0xc000691e98 sp=0xc000691e58 pc=0x43c14f
runtime.newm(0x435377fddd002?, 0xc000056a00, 0x0?)
runtime/proc.go:2229 +0x12c fp=0xc000691ec8 sp=0xc000691e98 pc=0x43c00c
runtime.startm(0xc000056a00?, 0x1, 0x0)
runtime/proc.go:2423 +0x15c fp=0xc000691f18 sp=0xc000691ec8 pc=0x43c61c
runtime.wakep()
runtime/proc.go:2559 +0xf8 fp=0xc000691f48 sp=0xc000691f18 pc=0x43cbf8
runtime.resetspinning()
runtime/proc.go:3262 +0x49 fp=0xc000691f68 sp=0xc000691f48 pc=0x43e729
runtime.schedule()
runtime/proc.go:3384 +0xd1 fp=0xc000691fa0 sp=0xc000691f68 pc=0x43eb11
runtime.mstart1()
runtime/proc.go:1506 +0xcd fp=0xc000691fc8 sp=0xc000691fa0 pc=0x43ae6d
runtime.mstart0()
runtime/proc.go:1456 +0x7a fp=0xc000691ff8 sp=0xc000691fc8 pc=0x43ad7a
runtime.mstart()
runtime/asm_amd64.s:394 +0x5 fp=0xc000692000 sp=0xc000691ff8 pc=0x467cc5
goroutine 1 [semacquire]:
runtime.gopark(0xc0000061a0?, 0x440520?, 0x48?, 0x7b?, 0x43fbc5?)
runtime/proc.go:381 +0xd6 fp=0xc0001f7b00 sp=0xc0001f7ae0 pc=0x438536
runtime.goparkunlock(...)
runtime/proc.go:387
runtime.semacquire1(0xd2ef5c, 0xfc?, 0x0, 0x0, 0x10?)
runtime/sema.go:160 +0x20f fp=0xc0001f7b68 sp=0xc0001f7b00 pc=0x449a6f
runtime.semacquire(...)
runtime/sema.go:111
runtime.gcMarkDone()
runtime/mgc.go:787 +0x2f fp=0xc0001f7bc8 sp=0xc0001f7b68 pc=0x41950f
runtime.gcAssistAlloc(0xc0000061a0)
runtime/mgcmark.go:483 +0x1fc fp=0xc0001f7c28 sp=0xc0001f7bc8 pc=0x41d19c
runtime.deductAssistCredit(0x239?)
runtime/malloc.go:1217 +0x5a fp=0xc0001f7c50 sp=0xc0001f7c28 pc=0x40d4ba
runtime.mallocgc(0x4800, 0x0, 0x0)
runtime/malloc.go:932 +0xd0 fp=0xc0001f7cb8 sp=0xc0001f7c50 pc=0x40ccd0
runtime.growslice(0xd5d8e0, 0xc0001f7da8?, 0xa?, 0x0?, 0x0?)
runtime/slice.go:266 +0x4a8 fp=0xc0001f7d18 sp=0xc0001f7cb8 pc=0x44dac8
main.runService(0x1)
github.com/evanw/esbuild/cmd/esbuild/service.go:153 +0x645 fp=0xc0001fbe38 sp=0xc0001f7d18 pc=0x8dfea5
main.main()
github.com/evanw/esbuild/cmd/esbuild/main.go:240 +0xa29 fp=0xc0001fbf80 sp=0xc0001fbe38 pc=0x8de249
runtime.main()
runtime/proc.go:250 +0x207 fp=0xc0001fbfe0 sp=0xc0001fbf80 pc=0x438107
runtime.goexit()
runtime/asm_amd64.s:1598 +0x1 fp=0xc0001fbfe8 sp=0xc0001fbfe0 pc=0x469e41
goroutine 2 [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
runtime/proc.go:381 +0xd6 fp=0xc0000e2fb0 sp=0xc0000e2f90 pc=0x438536
runtime.goparkunlock(...)
runtime/proc.go:387
runtime.forcegchelper()
runtime/proc.go:305 +0xb0 fp=0xc0000e2fe0 sp=0xc0000e2fb0 pc=0x438370
runtime.goexit()
runtime/asm_amd64.s:1598 +0x1 fp=0xc0000e2fe8 sp=0xc0000e2fe0 pc=0x469e41
created by runtime.init.6
runtime/proc.go:293 +0x25
ERROR Error: The service was stopped nitro 7:14:50 AM
undefined
ERROR The service was stopped 7:14:50 AM
at node_modules/nitropack/node_modules/esbuild/lib/main.js:828:29
at responseCallbacks.<computed> (node_modules/nitropack/node_modules/esbuild/lib/main.js:704:9)
at Socket.afterClose (node_modules/nitropack/node_modules/esbuild/lib/main.js:694:28)
at Socket.emit (node:events:532:35)
at endReadableNT (node:internal/streams/readable:1696:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
ERROR The service was stopped ```
I want to release my app to internet, so I can access through my new domain. Basically from dev to prod
New contributor
Grandizas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.