bhojkamal bhojkamal
2
Hello, I got error on my Laravel 8 and Vue 3 application while running npm run watch. If I remove v-model on input, there is no error but when I use v-model="user.name" on input, the error comes. However, I have another form for crud operat...
devhoussam123 devhoussam123
3
Hi I want to use Vue 2 with laravel mix 6 but it didn't work it display this error message : Module parse failed: Unexpected token webpack.mix.js const mix = require('laravel-mix'); mix.js('resources/js/app.js', 'js') .vue({ version: 2 }) .set...
BilalHaidar BilalHaidar
0
Hello, I tried upgrading a Laravel app to use Laravel mix 6.x, however, the global styles were not loading for some reason. Anyone figured out how to use global styles in a laravel 8 / vue 2 app? Thanks...
bhojkamal bhojkamal
1
Hello, I am trying make crud api operation with Laravel sanctum auth in SPA VUE 3 with bootstrap 5 ui. But I could not login and redirect to dashboard or books where crud operation is done for books. The full code is here -> https://github.com/bh...
Hammie Hammie
6
When i'm deploying my site to Laravel Forge, it give me an error saying "Unable to locate Mix file" . locally is fully working... <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8">...
laidbackwebsage laidbackwebsage
10
I am trying to use Bootstrap 4 beta in my project. Bootstrap 4 beta requires Popper.js My package.json, devDependencies looks like this: "devDependencies": { "axios": "^0.16.2", "bootstrap": "^4.0....
mstdmstd mstdmstd
5
In a Laravel 8 / Tailwind CSS v2.1 application, I make different layouts. So in `webpack.mix.js, I have custom class files defined: const mix = require('laravel-mix'); const tailwindcss = require('tailwindcss'); mix.js('resources/js/ap...
simcha simcha
4
Is it not working? I'm trying to use it with SVG As in create-react-app import {ReactComponent as Chevron} from "./svg/chevron.svg"; ... <Chevron/>...
Ajvanho Ajvanho
4
I installed laravel ui, and try to run npm dev ? npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! @ development: `mix` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the @ development script. npm ERR! This is probably not a problem with npm. Th...
Ajvanho replied
Solved
dniccum dniccum
0
I am currently encountering an error during the production build process within a Docker container that I cannot explain. The logs are extremely ambiguous and don't' necessarily say what is going on. This is what I am seeing: [webpack.Progress] 92% c...
RoffDaniel RoffDaniel
0
Hello everyone. Please tell me how to remove unnecessary elements from webpack? I mean, when the npm run dev command is executed, it adds unnecessary elements to the js scripts, because of which half of the functions do not work for me. This is my fi...
tcetin tcetin
0
I am getting error when I try to run sail npm run dev. Here are errors: resolve.fallback: { "path": false } ERROR in ./node_modules/postcss-normalize-url/dist/index.js 7:12-27 Module not found: Error: Can't resolve 'path' in '/var/...
realtebo realtebo
0
Laravel 8 and mix 6. I discovered mix is generating a js/vendor.css file Why ? my larave-mix is const mix = require('laravel-mix'); const webpack = require('webpack'); const env = process.env.NODE_ENV || 'development'; const config = require('./conf...
apokall apokall
1
My task is to build the front in production. But, if I use versions, through the helper function mix (), during the build, for the last 40-60 seconds of the build, it knocks out 500 with the inscription: Unable to locate Mix file. How can I update th...
Left Left
0
Hello guys! I am trying to use Pikaday form my date pickers. In the official docs there is this huge statment that you don't need any dependencies like moment.js in order for this package to work. Yet still while i am trying to compile my assets with...
CrushCandy CrushCandy
6
Learning webpack with no where else to turn to, the script needs to run new Wow().init (); on the dom, I have used npm to pull the package and require ('wowjs') in the entry path, but I keep getting wow is undefined on the dom. Anyone can enlighten m...
anonymouse703 anonymouse703
2
How to integrate bootstrap dataTable on webpack? I used Admin LTE on this project in my previous project using my another admin panel it's okay but in admin LTE I cannot configure the problem or where to put exact line of dataTable. I got this error...
keizah keizah
8
Just started using laravel sail and can't make browsersync work. It does'nt reload the browser mix.browserSync({ open: false, notify: false, proxy: 'http://iskelbimai.test', port:8084 }); Any solutions?...
caleb65 caleb65
0
A little help, just updated my tailwindcss and also postcss when i try to compile my css i get this error ERROR in ./resources/sass/app.scss (./node_modules/css-loader??ref--5-2!./node_modules/postcss-loader/src??postcss0!./node_modules/style-loader!...
daito daito
1
Hi ! Since I update from Vue2 to Vue3 and Laravel Mix v6, I got this error when I run npm run watch : [webpack-cli] Error: The loaded module contains errors at C:\xampp\htdocs\shareyourproject\node_modules\webpack\lib\dependencies\LoaderPlugin.js...
Arun07 Arun07
11
Hi I have a laravel project and am using laravel mix for transpiling js and scss Everything works fine on my local machine and on my colleagues machine, but on out testing server, when I try running npm run dev or npm run prod, nothing happens. It ju...
mrcsmcln mrcsmcln
16
The title pretty much says it all. I've configured my valet park'd my ~/Sites directory and tried using mix.browserSync({proxy: 'site.dev'}), but Google tells me the site unexpectedly disconnected. I've tried changing the BrowserSync port, and instea...
vincej vincej
4
Ok, so I decided to rip all my cdn's out of my header file and import the various JS packages into L8 using npm. One of those is called bootstrap-datepicker and I can not get it to load into my application. Ok - so I downloaded it and NPM has updated...
vincej replied
Solved
melmoniry melmoniry
4
Hello, I've just installed tailwind using this documentation https://laravel.com/docs/8.x/mix#tailwindcss for some reason after running mix with tailwind, all my CSS that i already had is gone it becomes all words with no containers or anything. is t...
lianmaymesi lianmaymesi
1
When I tried to npm run watch, it doesn't show any errors, just shows DONE Compiled successfully in 221ms...
devhoussam123 devhoussam123
0
I'm trying to use the flag-icon-css package in my HTML project using laravel-mix for compiling the assets. the problem is when I access to my index.html the flag-icon-css not showing even if the compiling is success. Here is my HTML project files str...
bobmulder bobmulder
0
Hi all! My application in Laravel keeps growing. My frontend stack currently exists of Laravel Mix, Vue (2), Bootstrap, Bootstrap Vue, Typescript and some other libraries. The build time of my frontend using yarn mix build takes more than 20 minutes,...
vincej vincej
31
I have everything working nicely on my development server, however when I implement the the system onto my remote server at DigitalOcean, I am not getting my proprietary css. My css is pulled in like this: <link href="{{ asset('/css/app.css'...
vincej replied
Solved
sr57 sr57
9
When I run "npm run dev" I get this message, it's clear but I'm not comfortable with it. Why it appears? (Why everything is not done in one pass?) Is there a config in package.json to avoid this?...
EdenZhiweis EdenZhiweis
1
Is there any documentation on https://shareit.onl/ how to use laravel charts with data from DB but the one with query builder not eloquent? I cant seem to find it anywhere and how the data being passed is kind of different so i need some help in thi...
JoaoHamerski JoaoHamerski
0
standalone project = without using Laravel I'm trying to run a server to see my project on browser, the only way i can do it is running npx mix watch --hot, so after that my project start running at localhost:8080. But the above command enable hot re...
daito daito
3
Hi ! Since I update from Vue2 to Vue3 and Laravel Mix v6, I got this error when I run npm run watch : [webpack-cli] Error: The loaded module contains errors It compile well the first time but I got this error when webpack tries to reload after chan...
YuraLons YuraLons
0
Yesterday, when PhpStorm was closed, everything worked fine, the project was going as it should. Now when I opened the project again and received the message: You have not installed any plugins, parser or stringifier. PostCSS is not doing anything r...
eaides eaides
8
In my test environment (homestead) my app when I use the "npm run dev" produce different results than the "npm run prod" The main difference seam to be in the grid (tailwind), wherein dev appear in 2 columns, for the same browser...
getvma getvma
18
Env: Windows 10 running Wamp, php 7.0.14 Side note: versioning with elixir worked in this environment. So the helpers.php refers to mix-manifest.json, so i changed it to what it was asking for 'manifest.json'. So I ran npm run production and... now I...
Create a New Discussion Button