raakkan raakkan
10
i'm created simple laravel project with this Laravel-Vue SPA starter project template and im uploaded this project to ubuntu server. all settings corect but i run this project returns this error "The Mix manifest does not exist. (View: /var/www/...
gcunha gcunha
5
Hello, I cannot make VueJS to work in my Laravel 8 application. These are the commands I ran, according to the documentation: composer require laravel/ui php artisan ui vue npm install npm run dev This is the output I get. Any thoughts? Could not fin...
david001 david001
1
Hi , i got the following error on running npm run watch my node version is 15.10.0 I am using mac. please help me to solve this issue. npm ERR! code 1 npm ERR! path /Applications/XAMPP/xamppfiles/htdocs/products npm ERR! command failed npm ERR! com...
ergezcaner ergezcaner
4
[email protected]:~/intern$ npm run prod > @ prod /home/vagrant/intern > npm run production > @ production /home/vagrant/intern > mix --production sh: 1: mix: not found I want simply create a new laravel and breeze intertia version....
hazelbag hazelbag
1
I bought a custom theme and started porting it into Laravel, though the CSS files are huge we decided to compile the style sheets with mix as per mix.sass('XXXXX', 'XXXX'); But with the sprite sheets/images the produces an error when compiling [webpa...
geninoliveira geninoliveira
1
Hi folks. I'm trying to build customized CKEditor 5 instance to my app, using Laravel Mix. If i copy the contents of the CKEditor's tutorial (https://ckeditor.com/docs/ckeditor5/latest/framework/guides/quick-start.html) app.js into my app.js, and run...
dojocreative dojocreative
6
I'm trying to deploy an app. I am using mix as configured out of the box. When I run npm run production I expect that the app.css file to be purged of extra tailwind classes, but the resulting file is 4.5MB My webpack.mix.js file looks like: const m...
lemmon replied
Solved
daniti daniti
0
Almost got the hot module replacement to work with a local https domain on Valet, but once I make a change, the HMR module calls the new file over http instead of https, resulting in an error. How do I force the HMR to use https? In my package.json I...
raziel79 raziel79
0
Hi all, i have a laravel 8 fresh installation with react enable, in my module I import my css module file like: import styles from "./Button.module.css" all works well but the class name generate by webpack is like: <div class="-ua...
Kuzuto Kuzuto
14
Installed Laravel 8 with Jetstream. Trying to add Fontawesome to the project, but I can’t get it to accept the @import fontawesome in the app.css file. Anyone who has some pointers on how to add it?...
Aridez replied
Solved
codinglara codinglara
4
Laravel doesn't load Tailwind styles on a fresh installation. I installed Tailwind via NPM and created my config file tailwind.config.js module.exports = { purge: [], darkMode: false, // or 'media' or 'class' theme: { extend: {}, }, var...
www888 www888
1
Hello In var list have Locations data. Want send this data in differ addresses array. Formatting json in other format like {infobox_content":"test", "latitude":"1","longitude":"2"}, and saving...
LarsGIF LarsGIF
10
I have created a new project and added fortify, jetstream and livewire. When I ran the final "npn run dev" I got the following error: ERROR in ./resources/css/app.css Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loa...
Donny5300 Donny5300
4
Hi all, I can't find something that straighten up things for me so let me ask: is it better to run npm script in the terminal from my mac or from my virtual machine (Parallels)?...
Ajvanho Ajvanho
4
npm run dev suddenly stopped working??? [webpack-cli] TypeError: The 'compilation' argument must be an instance of Compilation "vue-loader": "^15.9.6", "vue-template-compiler": "^2.6.12" "vue": "...
Kanchan186 Kanchan186
1
table: users db.php <?php session_start(); $servername = "localhost"; $username = "root"; $password = " "; $database = "test"; // Create connection $conn = mysqli_connect("localhost", "root&...
aweb aweb
0
Hello, I added svelte extension (https://github.com/wewowweb/laravel-mix-svelte), but it triggers error as it scan all files, how to make it compile only specific files? // Webpack.mix.js // I want it compile only app.js, ignore super_campus.js // Fo...
www888 www888
5
Hi Ajax gives data and in console log it look like: {priceType: [{pricea: 50, priceb: 20}]} $('#list').on('change', function(){ var list = $("#list").val(); if(list != "") { $.aj...
tykus replied
Solved
neerajgoswami neerajgoswami
5
> dev > npm run development > development > mix ERROR in ./resources/css/app.css Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js): TypeError: The 'compilation' argument must be an instance of Compilatio...
felipesmendes felipesmendes
2
I'm trying to import select2 in my project but i'm gotting this error in the view: jquery-3.5.1.min.js:2 Uncaught TypeError: $(...).select2 is not a function at HTMLDocument.<anonymous> (create:764) at e (jquery-3.5.1.min.js:2) at t...
mh71 mh71
14
https://code.tutsplus.com/tutorials/build-a-react-app-with-laravel-backend-part-2-react--cms-29443 The sample code in tutsplus link above works for me only if my welcome.blade.php is: <!doctype html> <html lang="{{ app()->getLocale()...
mh71 mh71
4
I keep getting this no matter what I try in Laravel 8.20.1 and Node 12.6.0 on command npm run dev. I'm trying to set up a Laravel with React mix: > @ development C:\Users\Me\meblog > cross-env NODE_ENV=development node_modules/webpack/bin/webp...
mh71 replied
Solved
alainbelez alainbelez
0
i have 2 projects resource/js/www/ and resource/js/backoffice/ but problem is images like logo are compiled into same directory, how do i separate them? mix.typeScript('resources/js/www/main.ts', 'js/www.js').vue().version() mix.typeScript('resources...
laics1984 laics1984
0
I am running npm run hot in workspace container in laradock for vuejs in laravel app. Everything runs as usual except that there is no live changes on the page and the public js code in /app/js is not updated. However, new js file name is added to mi...
www888 www888
1
Hi Have dependent dropdown which return data. ajax have three values and when all of them is set it gives result. But I need add check, when a, b , c all this value is set send ajax request , now it send if one of them is set. I need do this chec...
rabol rabol
2
Hi I have re-installed Homestead and it runs on vagrant box v 9.7.2 when I create a new laravel project like this: laravel new test cd test composer require laravel/ui php artisan ui --auth bootstrap npm install && npm run dev then npm fails:...
leostereo leostereo
2
Hi guys. Im having problems with CORS on laravel. I created two dockers services. One for the front end (axios on vuejs). The other for laravel backend runing with sail script. Is there same quick way to allow CORS for all methods for all routes. Wo...
app_dev app_dev
1
npm run watch Result; > @ watch /home/retaria.com/blog > mix watch Invalid regular expression: /(\p{Uppercase_Letter}+|\p{Lowercase_Letter}|\d)(\p{Uppercase_Letter}+)/: Invalid escape npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! @ watch...
lewis4u lewis4u
3
When trying to compile the scss file I get this error: npm run dev > @ dev /var/www/projects/eight > npm run development > @ development /var/www/projects/eight > mix ERROR in ./resources/css/app.scss Module build failed (from ./node...
tobiasopitz tobiasopitz
1
Hi there, after two years of absence I started a new Laravel project. In the past I used Sass for compiling Bootstrap and Stylus for everything else. (Please no judgment ... it works for me ;-) ). In the past I saved the compiled files in the resourc...
gymdone gymdone
4
This just started happening ... ~/STGdev/lvvn $ npm run watch > @ watch /home/gymdo/STGdev/lvvn > npm run development -- --watch > @ development /home/gymdo/STGdev/lvvn > cross-env NODE_ENV=development node_modules/webpack/bin/webpack....
eminos eminos
0
Has anyone gotten bs-html-injector to work with Mix? https://github.com/shakyShane/html-injector I tried with this config, and it seems HTML Injector starts up with Browsersync, but it doesn't detect any changes in the blade files. mix.browserSync({...
warpig warpig
3
Hey guys, so as im following the Laravel, Vue and SPA's course I've found out that im not loading Tailwind correctly yet the build was done succesfully, in fact in the sass/app.css directory (resources/sass/app.css) underlines these 3 variables in y...
Create a New Discussion Button