Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NPM run dev not compiling assets with error notifications for user are disabled on Windows 10

Tags:

npm

vue.js

I recently reinstalled the Windows 10 operating system,

Upon running npm-install command, npm installs correctly. However, on running the npm-run watch command or npm run-dev command, assets are not been compiled.

The following message is been displayed:

Notifications are disabled Reason: DisabledForUserPlease make sure that the app id is set correctly.

I have tried to reinstall and install Laravel 7, but the same issue persists. OS: Windows 10 build version 10240.

Screenshot of the message after running npm-run watch on CMD

Screenshot of the message after running npm-run watch on CMD

Windows Notifications settings

Windows Notifications settings

like image 600
Robinking Avatar asked Jan 25 '23 14:01

Robinking


2 Answers

add mix.disableNotifications() to the webpack.mis.js file

like image 25
Ayoub lwela Avatar answered Jan 27 '23 03:01

Ayoub lwela


All you have to do is Enable windows notification:

Windows settingsNotifications & actions (on Windows 10)

And finally:

npm run dev
like image 156
Khn Rzk Avatar answered Jan 27 '23 03:01

Khn Rzk