Hello i have a problem with Deploy
Anonymous
TRIALOP

a year ago

Hello i deploy my laravel project in railway but i cant show frontend i dot know why

20 Replies

Anonymous
TRIALOP

a year ago

a31bd9fe-a0f9-406c-8acf-88826cb1f2aa


Anonymous
TRIALOP

a year ago

hellp me please


lasse
PRO

a year ago

wdym? can you explain more about your issue?


Anonymous
TRIALOP

a year ago

frontend don work


Anonymous
TRIALOP

a year ago

maybe needed npm install and npm run dev idk


Anonymous
TRIALOP

a year ago

but i dont know how to use


brody
EMPLOYEE

a year ago

you would never want to run anything development related on railway


brody
EMPLOYEE

a year ago

what's your current build command, to find this look at the build table at the top of your build logs?


Anonymous
TRIALOP

a year ago

i dont use any command


brody
EMPLOYEE

a year ago

please read my message and let me know the answer to the question


Anonymous
TRIALOP

a year ago

i dont understand you


brody
EMPLOYEE

a year ago

^


Anonymous
TRIALOP

a year ago

npm install && npm run dev


brody
EMPLOYEE

a year ago

I'm not talking about locally


Anonymous
TRIALOP

a year ago

can you be a little more clear because i cant understand you its my first time i use railway


brody
EMPLOYEE

a year ago

open your build logs
scroll to the top
tell me the build command


Anonymous
TRIALOP

a year ago

[Region: us-west1]

==============

Using Nixpacks

==============

context: 6664cfa2534aecdee02494ee59ce0893

╔══════════════════════════════ Nixpacks v1.24.0 ══════════════════════════════╗

║ setup │ (php81.withExtensions (pe: pe.enabled ++ [])), nginx, ║

║ │ libmysqlclient, php81Packages.composer, nodejs18, npm-9x ║

║──────────────────────────────────────────────────────────────────────────────║

║ install │ mkdir -p /var/log/nginx && mkdir -p /var/cache/nginx ║

║ │ composer install --ignore-platform-reqs ║

║ │ npm ci ║

║──────────────────────────────────────────────────────────────────────────────║

║ build │ npm run build ║

║──────────────────────────────────────────────────────────────────────────────║

║ start │ node /assets/scripts/prestart.mjs /assets/nginx.template.conf ║

║ │ /nginx.conf && (php-fpm -y /assets/php-fpm.conf & nginx -c ║

║ │ /nginx.conf) ║

╚══════════════════════════════════════════════════════════════════════════════╝

maybe you say for this ?


Anonymous
TRIALOP

a year ago

12 [ 8/12] RUN composer install --ignore-platform-reqs


brody
EMPLOYEE

a year ago

are you setting your build command in the service settings


Anonymous
TRIALOP

a year ago

I don't know what I did


Loading...