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
相关推荐
大卫小东(Sheldon)10 小时前
大模型智能体 (agent)简易流程介绍
ai·rust
小杍随笔12 小时前
【Rust 语言编程知识与应用:同步机制详解】
开发语言·算法·rust
Rust研习社16 小时前
Rust 错误处理:thiserror 和 anyhow 的使用
rust
RE-190117 小时前
Polars:告别 Pandas 性能瓶颈,用 Rust 驱动的 DataFrame 库处理亿级数据
开发语言·rust·pandas·polars·ai生成
好家伙VCC17 小时前
# 发散创新:用 Rust 实现高性能事件驱动架构的实践与优化 在现代软件系统中,**事件驱动编程模型**已经成为构
java·开发语言·python·架构·rust
Ivanqhz17 小时前
寄存器分配的核心函数 allocate
java·开发语言·后端·python·rust
浪客川18 小时前
godot-rust入门案例
rust·游戏引擎·godot
wenlonglanying1 天前
Windows安装Rust环境(详细教程)
开发语言·windows·rust
Rust研习社1 天前
Rust + WebAssembly 新手完全入门指南
rust
Java水解2 天前
Rust异步缓存系统的设计与实现
后端·rust