R
Railway6mo ago
bamir

Hello i have a problem with Deploy

Hello i deploy my laravel project in railway but i cant show frontend i dot know why
No description
16 Replies
Percy
Percy6mo ago
Please provide your project ID or reply with N/A. Thread will automatically be closed if no reply is received within 10 minutes. You can copy your project's id by pressing Ctrl/Cmd + K -> Copy Project ID.
bamir
bamirOP6mo ago
a31bd9fe-a0f9-406c-8acf-88826cb1f2aa hellp me please
lasse
lasse6mo ago
wdym? can you explain more about your issue?
bamir
bamirOP6mo ago
frontend don work maybe needed npm install and npm run dev idk but i dont know how to use
Brody
Brody6mo ago
you would never want to run anything development related on railway what's your current build command, to find this look at the build table at the top of your build logs?
bamir
bamirOP6mo ago
i dont use any command
Brody
Brody6mo ago
please read my message and let me know the answer to the question
bamir
bamirOP6mo ago
i dont understand you
Brody
Brody6mo ago
^
bamir
bamirOP6mo ago
npm install && npm run dev
Brody
Brody6mo ago
I'm not talking about locally
bamir
bamirOP6mo ago
can you be a little more clear because i cant understand you its my first time i use railway
Brody
Brody6mo ago
open your build logs scroll to the top tell me the build command
bamir
bamirOP6mo ago
[Region: us-west1] ============== Using Nixpacks ============== context: 6664cfa2534aecdee02494ee59ce0893 ╔══════════════════════════════ Nixpacks v1.24.0 ══════════════════════════════╗ ║ setup │ (php81.withExtensions (pe: pe.enabled ++ [])), nginx, ║ ║ │ libmysqlclient, php81Packages.composer, nodejs_18, npm-9_x ║ ║──────────────────────────────────────────────────────────────────────────────║ ║ 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 ? #12 [ 8/12] RUN composer install --ignore-platform-reqs
Brody
Brody6mo ago
are you setting your build command in the service settings
bamir
bamirOP6mo ago
I don't know what I did
Want results from more Discord servers?
Add your server