Visual Studio (VS) 使用Gulp报错 ReferenceError: primordials is not defined


错误描述

VS2019使用 Gulp压缩 js和 less转css

右键 gulpfile.js

任务运行程序资源管理器

提示无法加载

Visual Studio (VS) 使用Gulp报错 ReferenceError: primordials is not defined

输出窗口,一定要选择  输出来源 为:任务运行程序资源管理器

错误信息

 

错误信息:

   错误信息
ReferenceError: primordials is not defined
    at fs.js:36:5
    at req_ (E:\GZ\GZBlog\YESCMS\node_modules\natives\index.js:143:24)
    at Object.req [as require] (E:\GZ\GZBlog\YESCMS\node_modules\natives\index.js:55:10)
    at Object.<anonymous> (E:\GZ\GZBlog\YESCMS\node_modules\graceful-fs\fs.js:1:37)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)

项目中显示依赖未安装

Visual Studio (VS) 使用Gulp报错 ReferenceError: primordials is not defined

解决方案

Visual Studio (VS) 使用Gulp报错 ReferenceError: primordials is not defined 

不要使用 cnpm 安装,使用 npm install

不要使用:cnpm install

使用:npm install 就没问题了

Ruby 全选
npm install

Visual Studio (VS) 使用Gulp报错 ReferenceError: primordials is not defined

版权声明:本文为YES开发框架网发布内容,转载请附上原文出处连接
管理员
上一篇:.NET5 ASP.NET Core 添加API限流
下一篇:AI聊天机器人总结,图灵、思知、小爱、小微
评论列表

发表评论

评论内容
昵称:
验证码:
验证码
关联文章

Visual Studio (VS) 使用Gulp ReferenceError: primordials is not defined
.NET Core中使用编码GB2312‘GB2312‘ is not a supported encoding name 解决方案
Visual Studio(VS) web停止调试后关闭浏览器配置
VS .NET使用EF添加实体数据模型向导添加连接
Macros $(DevEnvDir), $(SolutionFileName), $(SolutionPath), $(SolutionDir), $(SolutionName), $(SolutionExt) are not defined during publish. Worked fine during build
Visual Studio(VS)发布自动使用Net Reactor给生成的DLL加壳
Visual Studio(VS) 集成 Git 的命令窗口 Git Bash
Python读取excel xlrd读取xlsx:Excel xlsx file; not supported
Visual Studio(VS)生成错误:尝试访问已卸载的 AppDomain。
解决:旧项目升级新版Unity2021导致Visual Studio无法使用
开源组件:DockPanelSuite(WeifenLuo.WinFormsUI.Docking)Visual Studio风格的用户界面 使用
EF MySQL取值时出错: Specified cast is not valid
Visual Studio 2019 远程调试工具(Remote Debugger)
.Net启动程序:It was not possible to find any compatible framework version
Visual Studio 的一些常用设置
VS扩展插件推荐:EFCore.Visualizer (免费)
使用队列(ConcurrentQueue)时获取队列运行
.net Core Swagger the same schemaid is already used for type swagger
Python使用html解析包Requests-html运行py文件没问题,Pyinstaller打包exe后运行
.NETCore 运行项目:Could not load file or assembly ***

热门标签
.NET Core .NET Reactor ag-grid AI发布 api安全 ASP.NET Core C#DLL加密 C#播放声音 C#代码混淆 C#代码加密 ChromeDriver Codex DateTime DBeaver devexpress devTool DLL混淆 edge.js EF EFCore Electron element-ui el-form el-table excel FastReport FileStream FolderBrowerDialog FolderSelectDialog form提交 git gridcontrol gridview input javascript json字符串 JS转换对象JSON jwt JWT授权 linq log Math MCP mitmproxy MVC MySQL Navicat netstat nginx node_modules NSwag Nuget Nuget镜像 number PowerShell pyinstaller python pythoncom python爬虫 python抓包 pywin32 redis Requests-html RestSharp Selenium sql SQL Server Swagger to-cms Visual Studio VSCode vue VueRouter vue路由 VUE页面通讯 Webpack Windows Windows服务 winform wmi xlrd yaml YESCMS YESWEB开发框架 白象 表单提交 播放声音 打开URL 代码混淆 弹窗提醒 端口占用 对象转换 分布式 公共字典 机器码 进程排查 静态资源 开发指南 路由参数 密钥 配置教程 配置文件 权限 人工智能 任务 任务调度 日期间隔 日志 日志记录 省市区 授权验证 数据库 四舍五入 文案 文件读取 文件夹选择 文件目录选择 问题排查 行政区域数据 页面通讯 中间件 CSharp 事务锁 工单系统 并发控制 重复提交 CMS Markdig Markdown markdown-it marked 技术选型 VS Code 开发工具 源代码管理 版本控制 Docker PostgreSQL 时区 部署排查 CMS架构 EF Core 主题系统 二次开发 插件系统 容器 运维命令 镜像清理 Linux NAS 远程挂载 飞牛 fnOS S/4HANA SAP GUI SAP HANA SAP R/3 SAP入门 SAP版本 ERP SAP SAP MM 库存管理 物料管理 采购管理 入门教程 SAP S/4HANA SPRO 企业结构 采购组织 MM01 物料主数据 物料类型 BP分组 业务伙伴 供应商主数据 ME41 RFQ 库存物料 采购流程 ME51 消耗性物料 科目分配 采购申请 AC03 ML81N 外部服务 服务主数据 Business Partner SAP培训 ME51N MM模块 Lean Services MM-SRV 外部服务采购 PIR 供应来源 采购主数据 采购信息记录 ME31K 框架协议 计划协议 采购合同 ME01 供应来源确定 货源清单 MEQ1 供应源确定 配额安排 配额评分 MD04 MD21 MRP 计划文件 需求计划 批量程序 MD01N MD02 MRP Live MD05 MM 物料计划 优化采购 供应源 采购订单
联系我们
联系电话:15090125178(微信同号)
电子邮箱:garson_zhang@163.com
站长微信二维码
微信二维码