NPM run dev 未编译资产并为用户提供错误通知被禁用 Windows 10 [英] NPM run dev not compiling assets with error notifications for user are disabled windows 10

查看:42
本文介绍了NPM run dev 未编译资产并为用户提供错误通知被禁用 Windows 10的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近重新安装了 Windows 10 操作系统,在运行 npm-install 命令时 npm 安装正确,但是在运行 npm-run watch 命令或 npm run-dev 命令时资产没有被编译.显示以下消息通知被禁用原因:DisabledForUser请确保应用程序ID设置正确.我尝试重新安装并安装laravel 7,但同样的问题仍然存在.操作系统 Windows 10 构建版本 10240.在 CMD 上运行 npm-run watch 后的消息截图

I recently reinstalled windows 10 operating system, Upon running npm-install command npm installs correctly however on running 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 same issue persists. OS Windows 10 build version 10240. Screenshot of the message after running npm-run watch on CMD

Windows 通知设置

推荐答案

您所要做的就是启用 windows 通知

windows 设置 ->>通知和操作(在 Windows 10 上)

windows settings ->> Notifications and Actions (on Windows 10)

最后

npm run dev

这篇关于NPM run dev 未编译资产并为用户提供错误通知被禁用 Windows 10的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆