how to Deploy Laravel projects to Vercel
๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐งฌ๐ก๐๐๐๐ฅ๐๐ฅ๐๐ฅ๐๐ฅ๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐ฅ๐๐ฅ๐๐ฅ๐๐ฅ๐๐ฅ๐๐ฅ๐๐ฅ๐๐๐ฅ๐๐ฅ๐๐ฅ๐๐ฅ๐ฅ๐๐๐๐ฅ๐๐ฅ๐๐๐ฅ๐๐ฅ๐๐ฅ๐๐ฅ๐๐ฅ๐๐ฅ๐๐ฅ๐๐ฅ๐๐ฅ๐๐๐ฅ๐๐ฅ๐๐ฅ๐๐ฅ๐๐๐๐๐๐๐๐๏ธ๐งฌ๐งฌ๐๏ธ๐๐๏ธ๐๏ธ๐๐๐๐๐ฅ๐๐ฅ๐๐๐ฅ๐ฅ๐๐ฅ๐๐ฅ๐๐ฅ๐ฅ๐๐ฅ๐๐๐ฅ๐๐ฅ๐ฅ๐๐ฅ๐๐ฅ๐๐ฅ๐๐ฅ๐๐ฅ๐๐๐ฅ๐ฅ๐๐ฅ๐๏ธ๐๐๐๐๐๐๐๐๏ธ๐๐๐๐๐๐๐๏ธ๐๐๏ธ๐๐๐๐๐๐๐๐๐๐๐๐๐ฅ๐ฅ๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐ฅ๐๐ฅ๐ฅ๐๐ฅ๐๐ฅ๐๐๐๐๐๐๐๐๐๐๐๐คฉ๐โบ๏ธ๐โบ๏ธ๐๐๐๐๐๐๐โบ๏ธ๐โบ๏ธโบ๏ธ๐๐โบ๏ธ๐โบ๏ธ๐๐๐๐
vercel.json link - pastebin.com/J8Wducb6
ะัะบััะปะตั: 40
Nice one mateโค. Pls continue with this useful laravel content
@LinuxLuminaries121
6 ะฐะน ะฑาฑััะฝ
Bro there is a problem u can not save pictures other than everything works โฃ๏ธ
Oh, I see! I thought Vercel also provided database configuration, but it turns out we need to use a third-party service. Thanks for the video. I've been searching for a week to fix my database issue. I'll try using a third-party database service.
@LinuxLuminaries121
2 ะฐะน ะฑาฑััะฝ
Yes
I got Error: The Runtime "vercel-php@0.3.1" is using "nodejs12.x", which is discontinued. Please upgrade your Runtime to a more recent version or consult the author for more details.
@LinuxLuminaries121
4 ะฐะน ะฑาฑััะฝ
๐ that's new.... I will look in to it...
@LinuxLuminaries121
4 ะฐะน ะฑาฑััะฝ
On the script it's vercel-php@0.6.0
@abdallahsharef375
4 ะฐะน ะฑาฑััะฝ
@@LinuxLuminaries121 Brother you saved me. the default script had 0.3.1 and even on npm this was the latest version. Thank you very much brother. I'm grateful
@LinuxLuminaries121
4 ะฐะน ะฑาฑััะฝ
โ@@abdallahsharef375happy to help u broo
@LinuxLuminaries121
4 ะฐะน ะฑาฑััะฝ
โ@@abdallahsharef375if u r trying to use storage wise css or js that's don't work bcz vercel don't allows that, using cdn is an option and even uploading pictures also don't work , that should also be done using links ..
what if i also use React and Laravel? will it still work
@LinuxLuminaries121
ะะน ะฑาฑััะฝ
No idea .... About that even the u can not add any PIC to the server
Error: Command "vercel build" exited with 1 'how to config .env file'?
@LinuxLuminaries121
2 ะฐะน ะฑาฑััะฝ
Change the nodejs version 16a it may be 20 now
@rezwansaki
12 ะบาฏะฝ ะฑาฑััะฝ
@@LinuxLuminaries121 Thanks
can i get a link to the vercel.json file you used
@LinuxLuminaries121
6 ะฐะน ะฑาฑััะฝ
pastebin.com/J8Wducb6
Does this include mysql database as well?
@LinuxLuminaries121
4 ะฐะน ะฑาฑััะฝ
U can use other db
Error:dist folder is empty
@ridhosurya5692
2 ะฐะน ะฑาฑััะฝ
same problem with me
Thanks very much. Please I have this error 'This is the error 'php: error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory Error: Exited with 127 at ChildProcess. (/vercel/path0/.vercel/builders/node_modules/vercel-php/dist/utils.js:182:24) at ChildProcess.emit (node:events:518:28) at ChildProcess.emit (node:domain:488:12) at ChildProcess._handle.onexit (node:internal/child_process:294:12) Error: Command "vercel build" exited with 1 Command "vercel build" exited with 1 ' I'm getting when deploying my laravel project.' while trying deploy my laravel application. Please help me out.
@rezwansaki
3 ะฐะน ะฑาฑััะฝ
same here
@danieldixon2765
18 ะบาฏะฝ ะฑาฑััะฝ
Same
Hi sir, I got my CSS not working on server. How can I fix?
@LinuxLuminaries121
6 ะฐะน ะฑาฑััะฝ
If not working use link way to attach css files like this {{config('app.name')}}
@LinuxLuminaries121
6 ะฐะน ะฑาฑััะฝ
U won't able to upload pic also bcz vercel can't do that .... U can use any other storage server it will work
@LinuxLuminaries121
4 ะฐะน ะฑาฑััะฝ
I mean the cdn...
@yemannmyoe5918
4 ะฐะน ะฑาฑััะฝ
@@LinuxLuminaries121 ok sir. I got work. The asset is not working on vercel using Laravel framework.
@yemannmyoe5918
4 ะฐะน ะฑาฑััะฝ
I mean Asset is file path like asset/cs/etc..
always got error Command "vercel build" exited with 1
@LinuxLuminaries121
4 ะฐะน ะฑาฑััะฝ
Recheck the code
@imadbouderoua8188
4 ะฐะน ะฑาฑััะฝ
bro i found the solution for that you ll thank me go to settings in vercel and change the node js v from 20 to 16 v
@LinuxLuminaries121
4 ะฐะน ะฑาฑััะฝ
@@imadbouderoua8188 that time node was using 16 ... May be it updated
@garudaputro
3 ะฐะน ะฑาฑััะฝ
@@imadbouderoua8188 thanks it works, but when i done deploy to vercel and try to open the website the error show "No application encryption key has been specified." hot to fix this?
@sumankhan3606
21 ะบาฏะฝ ะฑาฑััะฝ
same problem. can you help me please
hello sir, can u give the solution for this error x Build failed in 33ms error during build: RollupError: Could not resolve entry module "resources/sass/app.scss". at error (file:///vercel/path0/node_modules/rollup/dist/es/shared/parseAst.js:337:30) at ModuleLoader.loadEntryModule (file:///vercel/path0/node_modules/rollup/dist/es/shared/node-entry.js:17993:20) at async Promise.all (index 0) Error: Command "npm run build" exited with 1
@LinuxLuminaries121
ะะน ะฑาฑััะฝ
Check the npm version