Notifications are disabled - Windows 10
See original GitHub issue- Laravel Mix Version: 6.0.11 (
npm list --depth=0
) - Node Version (
node -v
): 15.8.0 - NPM Version (
npm -v
): 7.5.1 - OS: Windows 10
Description:
Laravel build notifications got disabled by itself - not sure what exactly happened and now when I run ‘npm run watch’ in my project folder I get the following message.
Notifications are disabled Reason: DisabledForApplication Please make sure that the app id is set correctly. Command Line: C:\wamp64\www\sterlingsilver\wp-content\themes\woocommerce-theme\node_modules\node-notifier\vendor\snoreToast\snoretoast-x64.exe -appID “Laravel Mix” -pipeName \.\pipe\notifierPipe-abb01a42-3adc-468c-a18a-8e2066933787 -p C:\wamp64\www\sterlingsilver\wp-content\themes\woocommerce-theme\node_modules\laravel-mix\icons\laravel.png -m “Build successful” -t “Laravel Mix”
I’ve tried uninstalling node.js, removing nodejs directories, removing nodejs from Path variable and reinstalling nodejs but to no avail.
npm -v = 7.5.1 node -v = 15.8.0 OS = Windows 10
Steps To Reproduce:
Following are my webpack.mix.js and package.json file content
webpack.mix.js – const mix = require(‘laravel-mix’); mix.js(‘src/app.js’, ‘./’) mix.sass(‘src/app.scss’, ‘./’,[]) mix.options({ processCssUrls: false }); mix.sourceMaps()
package.json –
{ “private”: true, “scripts”: { “dev”: “npm run development”, “development”: “mix”, “watch”: “mix watch”, “watch-poll”: “mix watch – --watch-options-poll=1000”, “hot”: “mix watch --hot”, “prod”: “npm run production”, “production”: “mix --production” }, “devDependencies”: { “axios”: “^0.21”, “laravel-mix”: “^6.0.11”, “lodash”: “^4.17.19”, “mini-css-extract-plugin”: “^1.3.6”, “postcss”: “^8.1.14”, “resolve-url-loader”: “^3.1.2”, “sass”: “^1.32.7”, “sass-loader”: “^8.0.2” }, “dependencies”: { “bootstrap”: “^4.6.0”, “cross-env”: “^7.0.3”, “jquery”: “^3.5.1”, “npm”: “^7.5.4”, “popper.js”: “^1.16.1”, “postcss-loader”: “^5.0.0” } }
Issue Analytics
- State:
- Created 3 years ago
- Reactions:5
- Comments:33
Top GitHub Comments
Finally, the permanent solution,
Remove
Enable
key from the Registry, HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\Laravel MixFind
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
NotificationHandler
table and identifyLaravel Mix
underPrimaryId
column. Just delete the entirecolumnrow.And it is… 😃
I hope it helps everyone.
@piljac1 @bzioni hi guys. i found something! if we change appID from
'Laravel Mix'
to (for example)'Laravel Mix Plus'
innode_modules\laravel-mix\src\components\Notifications.js
✅ problem solves!i know this is not a true way but it works 😃) (i guess problem is deeply from SnoreToast). and i did it because of this first solution in Common Issues section in this page https://www.npmjs.com/package/node-notifier
and btw if after this you still couldn’t see mix notifications try rollback what you did in windows registery, by doing this: save below code in a somename.reg file and run it: