Skip to main content

All Questions

Tagged with
0 votes
0 answers
19 views

Unable to add emojis in quill RTE

I am using quill as my RTE in laravel/livewire app. Here is some of my code I have installed quill-emoji using npm My view file that loads the quill <div class="w-full" wire:ignore ...
Usama Arslan's user avatar
0 votes
0 answers
20 views

TomSelect with laravel and npm vite

my app.js file: import './bootstrap'; import jQuery from 'jquery'; window.$ = jQuery; import './tom-select.complete'; app.css: @import 'tom-select.bootstrap4.css'; @tailwind base; @tailwind ...
m.Sarto's user avatar
  • 179
1 vote
0 answers
25 views

Error: Cannot set properties of undefined (setting 'mode') vercel deployment laravel

I want to deploy using vercel through the CLI and when I run vercel build everything is safe until npm run build then not long ago it appears the error setting 'mode' I don't know where the error is ...
Roihan Adhen's user avatar
0 votes
0 answers
14 views

NPM Run Build from shell_exec not working giving sh: vite: command not found

I am trying to run "npm run build" from a function whenever user change a color dd(shell_exec('cd .. && npm run build 2>&1')); The output is sh: vite: command not found When ...
Raden Bagus's user avatar
0 votes
0 answers
44 views

Issues with Tailwind CSS Initialization in Laravel Project

I'm trying to set up Tailwind CSS in my Laravel project following the official Tailwind CSS documentation, but I'm encountering an issue when running the npx tailwindcss init -p command. After I ...
Garfield's user avatar
-3 votes
1 answer
179 views

How to integrate external templates to Laravel + Vite?

For reference, I'm using Laravel 11 I have an external templates with their own css and javascripts, by default, laravel 11 comes in with simple vite implementation that uses: //vite.config.js import {...
Roi's user avatar
  • 539
0 votes
0 answers
135 views

Browsershot and puppeteer running correctly in dev mac server, but not in ubuntu production

I successfully installed and used Browsershot, puppeteer and chrome in my Mac M1 homebrew, but stuck with an error in production server, which is running Ubuntu 22. this is the code I used to generate ...
Imtiaz's user avatar
  • 2,504
0 votes
0 answers
24 views

How to split a css from a .scss mobile first using Webpack and Laravel Mix

Good morning. This is the code in my webpack.mix.js: let mix = require("laravel-mix"); require("laravel-mix-compress"); mix.setPublicPath("assets"); mix .sass("...
Lia Muscogiuri's user avatar
0 votes
1 answer
190 views

How to run 'npm run dev' on siteGround server

I have been developing a laravel website, and I am now trying to host it. SiteGround was recommended to me by a friend, so I bought a plan from them from a year and have uploaded and configured my ...
turtles's user avatar
  • 69
0 votes
1 answer
165 views

Default AlpineJS installation in sail livewire project

My question comes from simple curiosity, as I'd like to have control over the dependency versions of my project. Recently I started to work on a laravel/livewire project installed with Sail. I noticed ...
domjanzsoo's user avatar
0 votes
0 answers
79 views

How to import Mermaid JS in Laravel Vite project?

This works: @push('scripts') <script type="module"> import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs' mermaid.initialize({ ...
John's user avatar
  • 317
0 votes
2 answers
57 views

Can I Execute npm start command via php in the background and reach to the nextline of code

I am actually working on a big project using php laravel as backend and react as frontend, in which Its like I would upload a zip file containing react project and once the file is uploaded it would ...
Umair Ali's user avatar
1 vote
0 answers
115 views

AWS EC2 deployment occasionally fails with Laravel 11.x application & server stops working

I have a PHP 8.3, Laravel 11.x application that is currently hosted on an AWS EC2 instance. I deploy my latest changes every few days and regularly use composer update to keep my dependancies up-to ...
Zabs's user avatar
  • 14.1k
0 votes
0 answers
53 views

Trouble installing Laravel Breeze: Encountering npm ETARGET error

When I attempted to install Laravel Breeze using the command php artisan breeze:install, I encountered an error. (Note: I successfully ran composer require Laravel\breeze --dev and I am using Laravel ...
GoTze pokei's user avatar
0 votes
0 answers
257 views

Installing Laravel Breeze on a Docker container ("npm not found")

I'm new to Docker, so I apologize in advance if this is a dumb question. I am creating a new Laravel application using Docker following this tutorial: https://medium.com/@murilolivorato/setting-up-a-...
thePITman's user avatar
  • 211

15 30 50 per page
1
2 3 4 5
59