Reputation: 15
The issue with the Laravel mix is absolutely crazy thing.
Months ago I had issue compiling scss files and I could not change the backround color.
I copied my project and when I am running npm run dev
the backround color does not change again...
webpack.mix.js
const mix = require('laravel-mix');
mix.sourceMaps()
/*
|--------------------------------------------------------------------------
| Mix Asset Management
|--------------------------------------------------------------------------
|
| Mix provides a clean, fluent API for defining some Webpack build steps
| for your Laravel application. By default, we are compiling the Sass
| file for the application as well as bundling up all the JS files.
|
*/
mix.js('resources/js/app.js', 'public/js')
.react()
.sass('resources/sass/app.scss', 'public/css');
app.scss
@import 'variables';
@import '~bootstrap/scss/bootstrap';
_variables.scss
// Body
$body-bg: #000;
$body-color: #111;
// Typography
$font-family-sans-serif: "Nunito", sans-serif;
$font-size-base: 0.9rem;
$line-height-base: 1.6;
// Colors
$blue: #3490dc;
$indigo: #6574cd;
$purple: #9561e2;
$pink: #f66d9b;
$red: #e3342f;
$orange: #f6993f;
$yellow: #ffed4a;
$green: #38c172;
$teal: #4dc0b5;
$cyan: #6cb2eb;
I tried run:
body {
background: red !important;
}
but does not effect but months ago the only thing which worked.
npm run dev results:
╷
compiled successfully
Notifications are disabled
Reason: DisabledForUser Please make sure that the app id is set correctly.
Command Line: C:\MAMP\htdocs\sueliswebsite\laravel_ui-main\node_modules\node-notifier\vendor\snoreToast\snoretoast-x86.exe -appID "Laravel Mix" -pipeName \\.\pipe\notifierPipe-55288728-ce72-4ef8-82b8-0ddb58804c61 -p C:\MAMP\htdocs\sueliswebsite\laravel_ui-main\node_modules\laravel-mix\icons\laravel.png -m "Build successful" -t "Laravel Mix"
Also tried remove the nodes file and reinstalled.
Upvotes: 0
Views: 446
Reputation: 11
You can fix it permanently,
Remove Enable
key from the Registry
,
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\Laravel Mix
Find wpndatabase.db
from the below path, and open with any of your DB editors (I used HeidiSQL)
C:\Users\<Username>\AppData\Local\Microsoft\Windows\Notifications
Check the NotificationHandler
table and identify Laravel Mix
under PrimaryId
column. Just delete the entire column.
Upvotes: 1
Reputation: 15
I disabled all installed extensions in Chrome and I have now changed the color! SOLVED
Upvotes: 0