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
相关推荐
yezipi耶不耶8 小时前
Rust入门之并发编程基础(三)
rust
猫头虎9 小时前
什么是 npm、Yarn、pnpm? 有什么区别? 分别适应什么场景?
前端·python·scrapy·arcgis·npm·beautifulsoup·pip
SoniaChen3319 小时前
Rust基础[part4]_基本类型,所有权
开发语言·后端·rust
will_csdn_go19 小时前
祺洛后台管理 Rust Cross 交叉编译环境配置指南
开发语言·后端·rust
Source.Liu20 小时前
【unitrix】 6.5 基础整数类型特征(base_int.rs)
rust
PaytonD20 小时前
基于 iced 实现一个简易时钟
rust
Humbunklung1 天前
Rust 模块系统:控制作用域与私有性
开发语言·后端·rust
毒鸡蛋2 天前
Rust 基础大纲
rust
前端 贾公子2 天前
exports使用 package.json字段控制如何访问你的 npm 包
前端·npm·json
songroom2 天前
【转】Rust: PhantomData,#may_dangle和Drop Check 真真假假
开发语言·后端·rust