在 Windows 10 上禁用了 NPM run dev 未编译带有用户错误通知的资产 [英] NPM run dev not compiling assets with error notifications for user are disabled on Windows 10

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

问题描述

我最近重新安装了 Windows 10 操作系统,

I recently reinstalled the Windows 10 operating system,

运行 npm-install 命令 后,npm 安装正确.但是,在运行 npm-run watch 命令或 npm run-dev 命令时,不会编译资产.

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.

显示以下消息:

通知被禁用原因:DisabledForUser请确保应用ID设置正确.

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

我尝试重新安装并安装 Laravel 7,但同样的问题仍然存在.操作系统:Windows 10 内部版本 10240.

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

推荐答案

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

All you have to do is Enable windows notification:

Windows 设置通知 &操作(在 Windows 10 上)

Windows settingsNotifications & actions (on Windows 10)

最后:

npm run dev

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

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