angular+ionic+npm项目运行

angular+ionic+npm项目运行

  • 错误记录
    • [(1)Downloading binary from https://github.com/sass/node-sass/releases/download/v4.14.1/win32-x64-72_binding.node](#(1)Downloading binary from https://github.com/sass/node-sass/releases/download/v4.14.1/win32-x64-72_binding.node)
    • [(2)The npm warning "A requires a peer of B but none is installed. You must install peer dependencies yourself](#(2)The npm warning "A requires a peer of B but none is installed. You must install peer dependencies yourself)
    • [(3)MSBUILD : error MSB3428: 未能加载 Visual C++ 组件"VCBuild.exe"。要解决此问题,1) 安装 .NET Framework 2.0 SDK;2) 安装 Microsoft Visual Studio 2005;或 3) 如果将该组件安装到了其他位置,请将其位置添加到系统路径中。](#(3)MSBUILD : error MSB3428: 未能加载 Visual C++ 组件“VCBuild.exe”。要解决此问题,1) 安装 .NET Framework 2.0 SDK;2) 安装 Microsoft Visual Studio 2005;或 3) 如果将该组件安装到了其他位置,请将其位置添加到系统路径中。)
    • [(4)TypeError: Object.fromEntries is not a function、NODE上OBJECT.FROMENTRIES()方法的报错](#(4)TypeError: Object.fromEntries is not a function、NODE上OBJECT.FROMENTRIES()方法的报错)
    • [(5)angular2-signaturepad"' has no exported member 'SignaturePadModule'.](#(5)angular2-signaturepad"' has no exported member 'SignaturePadModule'.)

错误记录

(1)Downloading binary from https://github.com/sass/node-sass/releases/download/v4.14.1/win32-x64-72_binding.node

复制代码
npm i node-sass --sass_binary_site=https://npm.taobao.org/mirrors/node-sass/

(2)The npm warning "A requires a peer of B but none is installed. You must install peer dependencies yourself

复制代码
删除node_moular 重新npm i 

(3)MSBUILD : error MSB3428: 未能加载 Visual C++ 组件"VCBuild.exe"。要解决此问题,1) 安装 .NET Framework 2.0 SDK;2) 安装 Microsoft Visual Studio 2005;或 3) 如果将该组件安装到了其他位置,请将其位置添加到系统路径中。

复制代码
HKEY_LOCAL_MACHINE \ SOFTWARE \ Wow6432Node \ Microsoft \ MSBuild \ ToolsVersions \ 14.0 这个键删除

(4)TypeError: Object.fromEntries is not a function、NODE上OBJECT.FROMENTRIES()方法的报错

复制代码
版本过低或过高,检查编译过程中node -sass 的版本 安装符合的版本

(5)angular2-signaturepad"' has no exported member 'SignaturePadModule'.

复制代码
修改pakeage.json文件 将 angular2-signaturepad 的版本固定为 2.9.0
相关推荐
明理的信封2 小时前
AI 基础设施的“去 Python 化“:Rust 与 C# 的两条替代路径
人工智能·python·rust
minglie17 小时前
npm ali-oss库依赖冲突
前端·npm
doiito11 小时前
【Agent Harness】Gliding Horse v0.1.4.preview 发布:时间感知、闭环审计与智能增强
ai·rust·架构设计·系统设计·ai agent
独孤留白12 小时前
从C到Rust:堆内存,数据如何逃逸栈的约束?
rust
doiito(Do It Together)13 小时前
【安全,架构】RustyVault 项目深度分析报告以及和HashiCorp Vault的差异
微服务·架构·rust
问窗13 小时前
Rust实现Windows本地搜索工具
windows·搜索引擎·rust
程序员爱钓鱼15 小时前
Rust 变量与不可变性:为什么默认不能修改变量?
前端·后端·rust
第一程序员1 天前
Rust Agent 子进程执行:Command 之前,先定义输入和超时
python·rust·github
IT笔记1 天前
【Rust】Rust Match 模式匹配详解
java·开发语言·rust
取地址符1 天前
Rust学习笔记(基于Rustlings)(2):数据结构与集合
笔记·学习·rust