Hello i have a problem with Deploy
Hello i deploy my laravel project in railway but i cant show frontend i dot know why
16 Replies
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.a31bd9fe-a0f9-406c-8acf-88826cb1f2aa
hellp me please
wdym? can you explain more about your issue?
frontend don work
maybe needed npm install and npm run dev idk
but i dont know how to use
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?
i dont use any command
please read my message and let me know the answer to the question
i dont understand you
^
npm install && npm run dev
I'm not talking about locally
can you be a little more clear because i cant understand you its my first time i use railway
open your build logs
scroll to the top
tell me the build command
[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
are you setting your build command in the service settings
I don't know what I did