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
相关推荐
Source.Liu5 小时前
【unitrix】 4.18 类型级二进制数加法实现解析(add.rs)
rust
KENYCHEN奉孝8 小时前
Rust征服字节跳动:高并发服务器实战
服务器·开发语言·rust
明天好,会的15 小时前
跨平台ZeroMQ:在Rust中使用zmq库的完整指南
开发语言·后端·rust
寻月隐君19 小时前
Rust 网络编程实战:用 Tokio 手写一个迷你 TCP 反向代理 (minginx)
后端·rust·github
芳草萋萋鹦鹉洲哦1 天前
【vue3+tauri+rust】如何实现下载文件mac+windows
windows·macos·rust
墨菲安全1 天前
NPM组件 betsson 等窃取主机敏感信息
前端·npm·node.js·软件供应链安全·主机信息窃取·npm组件投毒
寻月隐君1 天前
Rust 异步编程实践:从 Tokio 基础到阻塞任务处理模式
后端·rust·github
萧曵 丶2 天前
Rust 中的返回类型
开发语言·后端·rust
浪裡遊2 天前
Sass详解:功能特性、常用方法与最佳实践
开发语言·前端·javascript·css·vue.js·rust·sass
受之以蒙2 天前
Rust & WASM 之 wasm-bindgen 基础:让 Rust 与 JavaScript 无缝对话
前端·笔记·rust