a year ago
logs: " github.com/evanw/esbuild/cmd/esbuild/service.go:160 +0x4ed
container event container restart
odontologia@0.0.0 start
Building…
Initial chunk files | Names | Raw size
fatal error: Killed
main.main()
container event container died
Building…
Killed
container event container restart
odontologia@0.0.0 start
Building…
chunk-R2ZDBNV7.js | modificar-cita-component | 6.94 kB |
Watch mode enabled. Watching for file changes…
➜ Local: http://localhost:8080/
Killed
goroutine 1 [chan receive]:
created by main.runService
container event container restart
Building…
chunk-3LKIBQ4U.js | - | 9.17 kB |
Killed
[github.com/evanw/esbuild/cmd/esbuild/service.go:114](github.com/evanw/esbuild/cmd/esbuild/service.go:114) +0x59
0x1)
container event container restart
odontologia@0.0.0 start
Building…
polyfills.js | polyfills | 86.27 kB |
fatal error: all goroutines are asleep - deadlock!
fatal error: all goroutines are asleep - deadlock!
[github.com/evanw/esbuild/internal/helpers/waitgroup.go](github.com/evanw/esbuild/internal/helpers/waitgroup.go):
main.runService.func2()
main.main
github.com/evanw/esbuild/internal/helpers.(*ThreadSafeWaitGroup).Wait(…)
)
, {0x93c500, 0xc0009cc210})
0xc000153d40, 0x40}, {0x9ad22e, 0x4}, {0x0, 0x0}, {0x0,
0x0}, 0xc0009cc1b0})
0x0, 0x0}, {{0xc000153d40, 0x40}, {0x9ad22e, 0x4}, {0x0
[github.com/evanw/esbuild/pkg/api/api_impl.go](github.com/evanw/esbuild/pkg/api/api_impl.go)
:1995 +0x266
container event container died
chunk-WLEAKWFQ.js | home-component | 7.99 kB |
fatal error: all goroutines are asleep - deadlock!
goroutine 1 [chan receive]:
"
ⓘ Deployment information is only viewable by project members and Railway employees.
7 Replies
a year ago
dockerfile: "
# Usar una imagen base oficial de Node.js
FROM node:20 as angular
# Crear un directorio de trabajo
WORKDIR /app
# Copiar package.json y package-lock.json
COPY package.json .
# Instalar las dependencias
RUN npm install
# Instalar Angular CLI globalmente
RUN npm install -g @angular/cli
# Copiar el resto de la aplicación
COPY . .
RUN npm run build
# Exponer el puerto que la aplicación va a usar
EXPOSE 8080
# Comando para iniciar la aplicación
CMD ["npm", "start"]
"
a year ago
I'm sorry but this does not answer the question.
It would be extremely helpful if you could share your repo instead.
a year ago
Sorry that it took longer than I'd like to get back to you, I got held up with other tasks, but I've submitted a PR for you here -
https://github.com/ValdeJose/front-end-odontologia/pull/1
I've deployed those changes to Railway and can confirm it builds and runs just fine now!
Status changed to Solved railway[bot] • 11 months ago
a year ago
it works! Thank you so much for your help.